summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c23a86bca745743e806d7ddbca792627712098b0 (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.2.1
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=('a136a8162487555e6aded49c7082189eacf0117cf2c64456c3bc0838071bcb00')

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

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