-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
31 lines (28 loc) · 881 Bytes
/
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
# Template file for 'libhangul'
pkgname=libhangul
version=0.1.0
revision=3
build_style=gnu-configure
hostmakedepends="automake gettext-devel libtool pkg-config"
configure_args="--disable-static"
short_desc="A library to support hangul input and character classification"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/libhangul/libhangul"
distfiles="https://github.com/libhangul/libhangul/archive/libhangul-${version}.tar.gz"
checksum=e2a81ef159ed098d3cc1a20377dba6204821b7ce2bc24cfb2f2543adf3bc5830
post_extract() {
sed -i '/AM_GNU_GETTEXT_VERSION/s/0.18/0.20/' configure.ac
}
pre_configure() {
./autogen.sh
}
libhangul-devel_package() {
depends="libhangul-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}