void-packages/srcpkgs/gettext-tiny/template

31 lines
742 B
Bash

# Template build file for 'gettext-tiny'.
pkgname=gettext-tiny
version=0.1.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=59069ce0762e1a1b9b59e762722c6dc22e2d7ea901c87f2fb2b2fd530da5fd9e
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
}
}