diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5b9a5ad17ac0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = sequeljoe + pkgdesc = SQL database administration tool + pkgver = 0.4 + pkgrel = 1 + url = http://sequeljoe.ohwg.net + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + depends = qt5-base + depends = libssh2 + depends = libnotify + optdepends = libmariadbclient: MySQL/MariaDB support + optdepends = sqlite: sqlite support + optdepends = postgresql-libs: PostgreSQL support (experimental) + options = strip + source = https://github.com/ohwgiles/sequeljoe/archive/0.4.zip + md5sums = a715fb01f3f03d16bbaa5a695c7db299 + +pkgname = sequeljoe + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..173b8cf0462a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Oliver Giles <web ohwg net> +pkgname=sequeljoe +pkgver=0.4 +pkgrel=1 +pkgdesc="SQL database administration tool" +arch=('i686' 'x86_64') +url='http://sequeljoe.ohwg.net' +license=('GPL3') +groups=() +depends=('qt5-base' 'libssh2' 'libnotify') +optdepends=( + 'libmariadbclient: MySQL/MariaDB support' + 'sqlite: sqlite support' + 'postgresql-libs: PostgreSQL support (experimental)' +) +makedepends=('cmake') +options=('strip') +source=("https://github.com/ohwgiles/sequeljoe/archive/$pkgver.zip") +md5sums=('a715fb01f3f03d16bbaa5a695c7db299') + +build() { + cd $pkgname-$pkgver + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release src + make -j4 +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + |