31 lines
742 B
Bash
31 lines
742 B
Bash
# Template build file for 'gettext-tiny'.
|
|
pkgname=gettext-tiny
|
|
version=0.2.0
|
|
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=1e0b57c4befb76f8f5c55f57ea4f1c2dbe62f57b80c34276fd49d870edf03dcb
|
|
|
|
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
|
|
}
|
|
}
|