void-packages/srcpkgs/gettext-tiny/template

31 lines
768 B
Bash

# Template file for 'gettext-tiny'
pkgname=gettext-tiny
version=0.3.1
revision=1
short_desc="Tiny Internationalized Message Handling Library and tools"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="https://github.com/rofl0r/gettext-tiny"
distfiles="https://github.com/rofl0r/${pkgname}/archive/v${version}.tar.gz"
checksum=654dcd52f2650476c8822b60bee89c20a0aa7f6a1bf6001701eeacd71a9e388b
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-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib
vmove usr/share/aclocal
}
}