mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-09 15:42:19 +01:00
34 lines
904 B
Plaintext
34 lines
904 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=smenu
|
|
pkgver=0.9.14
|
|
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="$pkgname-$pkgver.tar.gz::https://github.com/p-gen/smenu/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="0aa88860529addc72345b6edffbcbdb28367dfe9617cb3a67b065052f724e256f965ae1aec7d9020f0a20da21a801dfd3f57ccc0fe27dedc6018c1b3ad890087 smenu-0.9.14.tar.gz"
|