summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 173b8cf0462af6987191d8201bb3bb5d4f2678c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}