summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Fent2021-05-05 13:13:09 +0200
committerPhilipp Fent2021-05-05 13:13:09 +0200
commit3bcbaa16a39876baa39a9621da1d3383af0c8067 (patch)
tree8e78f68f3cbeca020b565046413647c29970fc97
downloadaur-3bcbaa16a39876baa39a9621da1d3383af0c8067.tar.gz
initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD24
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fdd00a04c9a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = sqlsmith
+ pkgdesc = SQLsmith: A random SQL query generator
+ pkgver = 1.2.1
+ pkgrel = 1
+ url = https://github.com/anse1/sqlsmith
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = ninja
+ makedepends = autoconf-archive
+ depends = libpqxx
+ depends = boost-libs
+ depends = sqlite
+ source = https://github.com/anse1/sqlsmith/releases/download/v1.2.1/sqlsmith-1.2.1.tar.gz
+ sha256sums = a136a8162487555e6aded49c7082189eacf0117cf2c64456c3bc0838071bcb00
+
+pkgname = sqlsmith
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c23a86bca74
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}