aboutsummaryrefslogtreecommitdiffstats
path: root/community/nq/APKBUILD
blob: 71d80e6fa415d189117a2607d36b8249ef078e29 (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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=nq
pkgver=0.4
pkgrel=0
pkgdesc="Unix command line queue utility"
url="https://github.com/leahneukirchen/nq"
arch="all"
license="CC0-1.0"
checkdepends="perl-utils"
subpackages="$pkgname-doc"
source="nq-$pkgver.tar.gz::https://github.com/leahneukirchen/nq/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="c4587c2074dd6e3d18d56a273b943b2594f6ea73912d774120706dbcb6a64e0b7a99c4da7283cbe0d3d47eb24fa246625e9180a88ee2e0cacc647de8c8606c38  nq-0.4.tar.gz"