blob: 7b2c21144096f2367eb89af50302f63a7399e5fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"
|