summaryrefslogtreecommitdiff
path: root/community/sqlitebrowser/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/sqlitebrowser/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/sqlitebrowser/PKGBUILD')
-rw-r--r--community/sqlitebrowser/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/sqlitebrowser/PKGBUILD b/community/sqlitebrowser/PKGBUILD
new file mode 100644
index 000000000..e5a3a5a39
--- /dev/null
+++ b/community/sqlitebrowser/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 24584 2010-08-26 14:46:36Z lcarlier $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
+# Contributor: Michael Fellinger <m.fellinger@gmail.com>
+
+pkgname=sqlitebrowser
+pkgver=2.0b1
+_pkgrealver=200_b1
+pkgrel=1
+pkgdesc="SQLite Database browser is a light GUI editor for SQLite databases, built on top of QT"
+arch=('i686' 'x86_64')
+url="http://sqlitebrowser.sf.net"
+license=('GPL')
+depends=('qt')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${_pkgrealver}_src.tar.gz)
+md5sums=('5ca3d41cca454235b93ce72cd585dfe3')
+
+build() {
+ cd $srcdir/trunk/$pkgname
+
+ sed -i 's|getline|xgetline|' sqlitebrowser/sqlbrowser_util.c
+ qmake
+ make
+}
+
+package() {
+ cd $srcdir/trunk/$pkgname
+
+ mkdir -p $pkgdir/usr/bin
+ cp $pkgname/$pkgname $pkgdir/usr/bin/
+}