-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
41 lines (37 loc) · 1.06 KB
/
template
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
# Template file for 'libtickit'
pkgname=libtickit
version=0.4.3
revision=1
build_style=gnu-makefile
make_check_target=test
hostmakedepends="libtool perl pkg-config"
makedepends="libtermkey-devel libtool unibilium-devel"
checkdepends="perl"
short_desc="Library for building interactive full-screen terminal programs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.leonerd.org.uk/code/libtickit/"
distfiles="https://www.leonerd.org.uk/code/libtickit/libtickit-${version}.tar.gz"
checksum=a830588fa1f4c99d548c11e6df50281c23dfa01f75e2ab95151f02715db6bd63
post_extract() {
if [ "$CROSS_BUILD" ]; then
cp /usr/bin/libtool .
sed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool
sed -e "s,libtool,./libtool,g" -i Makefile
fi
}
post_install() {
vlicense LICENSE
}
libtickit-devel_package() {
depends="libtickit-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/man/man7
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}