From 14649a123a4983ec8e5e36ed751db0454b2d64df Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 17 Jul 2018 22:13:29 -0500 Subject: experimental/umockdev: who knew this broken package would be so popular --- experimental/umockdev/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 experimental/umockdev/APKBUILD (limited to 'experimental/umockdev') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2