mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19:14:48 +02:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=libtickit
|
|
pkgver=0.4.5
|
|
pkgrel=0
|
|
pkgdesc="library that provides an abstracted mechanism for building interactive full-screen terminal programs"
|
|
url="https://www.leonerd.org.uk/code/libtickit/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends_dev="libtermkey-dev"
|
|
makedepends="$depends_dev libtool"
|
|
checkdepends="perl-test-harness-utils"
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
source="https://launchpad.net/libtickit/trunk/v${pkgver%.*}/+download/libtickit-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sed -i -e "s/PREFIX=\/usr\/local/PREFIX=\/usr/g" Makefile
|
|
}
|
|
|
|
build() {
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
check() {
|
|
# test fails on the builders
|
|
rm t/11term-output-screen.c
|
|
TERM=linux make test
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR="$pkgdir"
|
|
|
|
install -Dvm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
sha512sums="
|
|
b9664887fd0dbdeafceb6a57ff5f8c901c5cfb2db0e9e2fe8223700b586cc1e82a1e2ea8d9a674754a24ffc7f4b289f0c4c14de9e2c1bc9ea20e9929c45eb060 libtickit-0.4.5.tar.gz
|
|
"
|