summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 469508819bc3f503f6a53c28018422ba3c17b03c (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
# Maintainer: Philipp Fent <philipp@fent.de>

pkgname=sqlsmith
pkgver=1.3
pkgrel=1
pkgdesc="SQLsmith: A random SQL query generator"
arch=('x86_64')
url="https://github.com/anse1/sqlsmith"
license=(GPL3)
makedepends=('cmake' 'ninja' 'autoconf-archive')
depends=('libpqxx' 'boost-libs' 'sqlite')
source=("https://github.com/anse1/sqlsmith/releases/download/v$pkgver/sqlsmith-$pkgver.tar.gz")
sha256sums=('11840c1edb523bdb192073abf8af8a83025538f417426aac69ee52035c7f7578')

build() {
    cd "$srcdir/sqlsmith-$pkgver/"
    ./configure --prefix=/usr
    make
}

package() {
    cd "$srcdir/sqlsmith-$pkgver/"
    make DESTDIR="$pkgdir" install
}