PKGBUILDs/community/sqlitebrowser/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
786 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
pkgname=sqlitebrowser
pkgver=1.3
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.sf.net"
license=('GPL')
depends=('qt3' 'libstdc++5')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-src.tar.gz)
md5sums=('d4dc8c6a95d5f005e493f3a5a2a10491')
build() {
. /etc/profile.d/qt3.sh
export PATH=/opt/qt/bin:$PATH
cd $startdir/src/$pkgname
qmake || return 1
make || return 1
mkdir -p $startdir/pkg/usr/bin
cp $startdir/src/$pkgname/$pkgname/$pkgname $startdir/pkg/usr/bin/
}