summaryrefslogtreecommitdiff
path: root/user/unittest-cpp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/unittest-cpp/APKBUILD')
-rw-r--r--user/unittest-cpp/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/unittest-cpp/APKBUILD b/user/unittest-cpp/APKBUILD
new file mode 100644
index 000000000..62a54662c
--- /dev/null
+++ b/user/unittest-cpp/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=unittest-cpp
+pkgver=2.0.0
+pkgrel=0
+pkgdesc="Lightweight unit testing framework for C++"
+url=" "
+arch="all"
+license="MIT"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="https://github.com/unittest-cpp/unittest-cpp/releases/download/v$pkgver/unittest-cpp-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="51b37055dbe2a8772a59047f900202332b75be8801af94496848503c6b652d34f5e2a62c92555d492e2265d35fc6befb5bd4209364f7a4e7c9f2f5988537fae6 unittest-cpp-2.0.0.tar.gz"