30 lines
742 B
Bash
30 lines
742 B
Bash
# Template build file for 'gettext-tiny'.
|
|
pkgname=gettext-tiny
|
|
version=0.0.5
|
|
revision=1
|
|
short_desc="Tiny Internationalized Message Handling Library and tools"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://github.com/rofl0r/gettext-tiny"
|
|
license="MIT"
|
|
distfiles="https://github.com/rofl0r/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=b351cb7a27cb301a777bd71195b5d24e5cbd832e59a53d45360fb009ae265886
|
|
|
|
conflicts="gettext>=0"
|
|
|
|
do_build() {
|
|
make ${makejobs} prefix=/usr
|
|
}
|
|
|
|
do_install() {
|
|
make ${makejobs} prefix=/usr DESTDIR=${DESTDIR} install
|
|
vlicense LICENSE
|
|
}
|
|
|
|
gettext-tiny-devel_package() {
|
|
conflicts="glibc-devel>=0 musl>=0"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib
|
|
}
|
|
}
|