vp-build/srcpkgs/gettext-tiny/template

32 lines
768 B
Bash

# Template file for 'gettext-tiny'
pkgname=gettext-tiny
version=0.3.2
revision=1
short_desc="Tiny Internationalized Message Handling Library and tools"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/rofl0r/gettext-tiny"
distfiles="https://github.com/rofl0r/${pkgname}/archive/v${version}.tar.gz"
checksum=29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383
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
}
}