summaryrefslogtreecommitdiff
path: root/experimental
diff options
context:
space:
mode:
Diffstat (limited to 'experimental')
-rw-r--r--experimental/umockdev/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/experimental/umockdev/APKBUILD b/experimental/umockdev/APKBUILD
new file mode 100644
index 000000000..7b2c21144
--- /dev/null
+++ b/experimental/umockdev/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=umockdev
+pkgver=0.11.3
+pkgrel=0
+pkgdesc="System to mock hardware devices for creating unit tests"
+url="https://launchpad.net/umockdev"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="glib-dev gobject-introspection-dev"
+checkdepends="eudev-dev libgudev-dev python3"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/martinpitt/umockdev/releases/download/$pkgver/umockdev-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e9086777bb13dbd79b629dc68555d19fb8799720dfc4548926b87d032d94212814cb9e1de10e26f5940a9b5db9a15f62a594f3baf0050ffb9ea30f1563db6d6c umockdev-0.11.3.tar.xz"