summaryrefslogtreecommitdiff
path: root/community/unudhcpd/APKBUILD
blob: 7cb10fcffa7c6f682637a9fa58c7b8e5f4537d01 (plain)
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
# Contributor: Clayton Craft <clayton@craftyuy.net>
# Maintainer: Clayton Craft <clayton@craftyuy.net>
pkgname=unudhcpd
pkgver=0.2.1
pkgrel=0
pkgdesc="extremely basic DHCP server that only issues 1 IP address to any client"
url="https://gitlab.com/postmarketOS/unudhcpd"
arch="all"
license="GPL-3.0-or-later"
makedepends="meson"
source="https://gitlab.com/postmarketOS/unudhcpd/-/archive/$pkgver/unudhcpd-$pkgver.tar.gz"

build() {
	abuild-meson output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
500fad3fcea838ffde1e13ab14558a15df99a633b0da3e93072dbc9139649a462fbf0980cccc644e4c095cb2340de0948748b39d8b071485e0d0c17b17efb086  unudhcpd-0.2.1.tar.gz
"