blob: 08d3663b7ee7a5bf91673ebd7be50825bcb6d06c (
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
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=libtickit
pkgver=0.3.5
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" # disable x86* due to testsuite failure
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"
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="3c9ff2b35faded1413448d8f954c151dd07254a0aabbc8a69eb95b7e77fee59a1617036a32f8f41ef6354111f55a58c6e821d36f2211564522866298e3b70a8a libtickit-0.3.5.tar.gz"
|