[arch-commits] Commit in sqlitebrowser/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 23:35:45 UTC 2015
Date: Monday, December 7, 2015 @ 00:35:45
Author: foutrelis
Revision: 149366
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
sqlitebrowser/repos/community-staging-i686/
sqlitebrowser/repos/community-staging-i686/PKGBUILD
(from rev 149365, sqlitebrowser/trunk/PKGBUILD)
sqlitebrowser/repos/community-staging-i686/sqlitebrowser.install
(from rev 149365, sqlitebrowser/trunk/sqlitebrowser.install)
sqlitebrowser/repos/community-staging-x86_64/
sqlitebrowser/repos/community-staging-x86_64/PKGBUILD
(from rev 149365, sqlitebrowser/trunk/PKGBUILD)
sqlitebrowser/repos/community-staging-x86_64/sqlitebrowser.install
(from rev 149365, sqlitebrowser/trunk/sqlitebrowser.install)
------------------------------------------------+
community-staging-i686/PKGBUILD | 37 +++++++++++++++++++++++
community-staging-i686/sqlitebrowser.install | 13 ++++++++
community-staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++
community-staging-x86_64/sqlitebrowser.install | 13 ++++++++
4 files changed, 100 insertions(+)
Copied: sqlitebrowser/repos/community-staging-i686/PKGBUILD (from rev 149365, sqlitebrowser/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 23:35:45 UTC (rev 149366)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Douglas Soares de Andrade <dsandrade at gmail.com>
+# Contributor: Michael Fellinger <m.fellinger at gmail.com>
+
+pkgname=sqlitebrowser
+pkgver=3.7.0
+pkgrel=2
+pkgdesc="SQLite Database browser is a light GUI editor for SQLite databases, built on top of Qt"
+arch=('i686' 'x86_64')
+url="http://sqlitebrowser.org/"
+license=('GPL')
+depends=('qt5-base' 'sqlite' 'libxkbcommon-x11')
+makedepends=('cmake' 'qt5-tools')
+install=sqlitebrowser.install
+#source=(https://github.com/sqlitebrowser/sqlitebrowser/archive/sqlb-$pkgver.tar.gz)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sqlitebrowser/sqlitebrowser/archive/v$pkgver.tar.gz")
+md5sums=('1033f076944316a713d4831bf581cf3a')
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|Icon=.*|Icon=sqlitebrowser|' distri/sqlitebrowser.desktop
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ cmake -DUSE_QT5=TRUE -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make install DESTDIR=$pkgdir
+ install -Dm0644 distri/sqlitebrowser.desktop $pkgdir/usr/share/applications/sqlitebrowser.desktop
+ install -dm0755 $pkgdir/usr/share/icons/
+ install -m0644 images/sqlitebrowser.svg $pkgdir/usr/share/icons/
+}
Copied: sqlitebrowser/repos/community-staging-i686/sqlitebrowser.install (from rev 149365, sqlitebrowser/trunk/sqlitebrowser.install)
===================================================================
--- community-staging-i686/sqlitebrowser.install (rev 0)
+++ community-staging-i686/sqlitebrowser.install 2015-12-06 23:35:45 UTC (rev 149366)
@@ -0,0 +1,13 @@
+post_install() {
+ [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+ [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true
+}
+
+post_upgrade() {
+ post_install
+}
+
+
+post_remove() {
+ post_install
+}
Copied: sqlitebrowser/repos/community-staging-x86_64/PKGBUILD (from rev 149365, sqlitebrowser/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 23:35:45 UTC (rev 149366)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Douglas Soares de Andrade <dsandrade at gmail.com>
+# Contributor: Michael Fellinger <m.fellinger at gmail.com>
+
+pkgname=sqlitebrowser
+pkgver=3.7.0
+pkgrel=2
+pkgdesc="SQLite Database browser is a light GUI editor for SQLite databases, built on top of Qt"
+arch=('i686' 'x86_64')
+url="http://sqlitebrowser.org/"
+license=('GPL')
+depends=('qt5-base' 'sqlite' 'libxkbcommon-x11')
+makedepends=('cmake' 'qt5-tools')
+install=sqlitebrowser.install
+#source=(https://github.com/sqlitebrowser/sqlitebrowser/archive/sqlb-$pkgver.tar.gz)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sqlitebrowser/sqlitebrowser/archive/v$pkgver.tar.gz")
+md5sums=('1033f076944316a713d4831bf581cf3a')
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|Icon=.*|Icon=sqlitebrowser|' distri/sqlitebrowser.desktop
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ cmake -DUSE_QT5=TRUE -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make install DESTDIR=$pkgdir
+ install -Dm0644 distri/sqlitebrowser.desktop $pkgdir/usr/share/applications/sqlitebrowser.desktop
+ install -dm0755 $pkgdir/usr/share/icons/
+ install -m0644 images/sqlitebrowser.svg $pkgdir/usr/share/icons/
+}
Copied: sqlitebrowser/repos/community-staging-x86_64/sqlitebrowser.install (from rev 149365, sqlitebrowser/trunk/sqlitebrowser.install)
===================================================================
--- community-staging-x86_64/sqlitebrowser.install (rev 0)
+++ community-staging-x86_64/sqlitebrowser.install 2015-12-06 23:35:45 UTC (rev 149366)
@@ -0,0 +1,13 @@
+post_install() {
+ [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+ [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true
+}
+
+post_upgrade() {
+ post_install
+}
+
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list