mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 23:32:47 +01:00
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
|
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
|
pkgname=libtickit
|
|
pkgver=0.4.2a
|
|
pkgrel=0
|
|
pkgdesc="library that provides an abstracted mechanism for building interactive full-screen terminal programs"
|
|
url="http://www.leonerd.org.uk/code/libtickit/"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="libtermkey-dev libtool"
|
|
checkdepends="perl-test-harness-utils"
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
source="http://www.leonerd.org.uk/code/libtickit/libtickit-$pkgver.tar.gz
|
|
missing-include.patch
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sed -i -e "s/PREFIX=\/usr\/local/PREFIX=\/usr/g" Makefile
|
|
}
|
|
|
|
build() {
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
check() {
|
|
# test is flawed
|
|
rm t/11term-output-screen.c
|
|
TERM=linux make test
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR="$pkgdir"
|
|
}
|
|
|
|
static() {
|
|
depends=""
|
|
pkgdesc="$pkgdesc (static library)"
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
|
|
}
|
|
|
|
sha512sums="
|
|
8bec53a52f731a2a312b78205e504de4e488c28855443718fe8fa0e0519d7c8749c4800e633c156e7066aac13a64430c50816df3615643d90a9ab829fbf31cfd libtickit-0.4.2a.tar.gz
|
|
2936e5bdb60e9f2320be0dccec75cebd1aa3dce5343ad4c315405ed1e83da53fd11ab3ae4f782706aed60151e81e44405491c605f6c4e878cb18104eaa1113f4 missing-include.patch
|
|
"
|