aboutsummaryrefslogtreecommitdiffstats
path: root/testing/smenu/APKBUILD
blob: 1a9425bf88ea431e5747235884607ad4735a7c53 (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
29
30
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=smenu
pkgver=0.9.15
pkgrel=0
pkgdesc="A standard input word picker"
url="https://github.com/p-gen/smenu"
arch="all"
license="GPL-2.0-only"
makedepends="ncurses-dev"
options="!check"  # tests seems to need full terminal to run
subpackages="$pkgname-doc"
source="https://github.com/p-gen/smenu/archive/v$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="d553328902729abe43ab8fd30bdc306772a3d0ecf7ccc9eb631dc7b2199b17ab56642bd5799312056aad1040272ae0a24ae6ddd7ddbdf48010269836822d5a59  smenu-0.9.15.tar.gz"