summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Claßen2015-06-13 15:40:39 +0200
committerPhilipp Claßen2015-06-13 15:40:39 +0200
commitfc4f1960cdddea39422c2446147d5a81af2261c1 (patch)
tree2535b61583771c2af4f3500a163122d99954a845
downloadaur-fc4f1960cdddea39422c2446147d5a81af2261c1.tar.gz
Initial version
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c6afe6bcb5f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = cppqc-git
+ pkgdesc = QuickCheck-like property based automated testing tool for C++
+ pkgver = r36.1dab618
+ pkgrel = 1
+ url = https://github.com/grogers0/CppQuickCheck
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = gcc
+ makedepends = cmake
+ depends = boost
+ source = git://github.com/grogers0/CppQuickCheck.git
+ md5sums = SKIP
+
+pkgname = cppqc-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b3e9212b801
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Philipp Claßen <philipp.classen@posteo.de>
+pkgname=cppqc-git
+pkgver=r36.1dab618
+pkgrel=1
+pkgdesc="QuickCheck-like property based automated testing tool for C++"
+arch=('i686' 'x86_64')
+url="https://github.com/grogers0/CppQuickCheck"
+
+license=('BSD')
+
+depends=(boost)
+makedepends=('gcc' 'cmake')
+source=('git://github.com/grogers0/CppQuickCheck.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd CppQuickCheck
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/CppQuickCheck"
+ cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/usr CMakeLists.txt
+ make
+}
+
+package() {
+ cd "${srcdir}/CppQuickCheck"
+ make install
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/cppqc/LICENSE"
+}