summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2015-07-06 11:10:18 +0200
committeraksr2015-07-06 11:10:18 +0200
commit6b25ea6a829f4786d66ab9f9e077d7dac9ea6a96 (patch)
tree23b8bd6f3297a0a535990d87b2cd02282da4e8ec
downloadaur-6b25ea6a829f4786d66ab9f9e077d7dac9ea6a96.tar.gz
Start.
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD32
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f1c5341583d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = creduce-git
+ pkgdesc = A C program reducer.
+ pkgver = 2.3.0.14.g49782e7
+ pkgrel = 1
+ url = https://github.com/csmith-project/creduce
+ arch = i686
+ arch = x86_64
+ license = custom:University of Illinois/NCSA Open Source License
+ makedepends = git
+ depends = astyle
+ depends = clang
+ depends = delta
+ depends = indent
+ depends = llvm
+ depends = perl-benchmark-timer
+ depends = perl-exporter-lite
+ depends = perl-file-which
+ depends = perl-getopt-tabular
+ depends = perl-regexp-common
+ depends = perl-sys-cpu
+ depends = zlib
+ source = creduce-git::git+https://github.com/csmith-project/creduce.git
+ md5sums = SKIP
+
+pkgname = creduce-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fabbf87f1de
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=creduce-git
+pkgver=2.3.0.14.g49782e7
+pkgrel=1
+pkgdesc='A C program reducer.'
+arch=('i686' 'x86_64')
+url='https://github.com/csmith-project/creduce'
+license=('custom:University of Illinois/NCSA Open Source License')
+depends=('astyle' 'clang' 'delta' 'indent' 'llvm' 'perl-benchmark-timer'
+ 'perl-exporter-lite' 'perl-file-which' 'perl-getopt-tabular'
+ 'perl-regexp-common' 'perl-sys-cpu' 'zlib')
+makedepends=('git')
+source=("$pkgname::git+https://github.com/csmith-project/creduce.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --always | sed 's/^creduce.//;s|-|.|g'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr --libexecdir=/usr/lib/creduce
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+