void-packages/srcpkgs/gettext-tiny/template

37 lines
802 B
Text
Raw Normal View History

# Template build file for 'gettext-tiny'.
pkgname=gettext-tiny
version=0.0.2
revision=1
short_desc="Tiny Internationalized Message Handling Library and tools"
maintainer="pancake <pancake@nopcode.org>"
homepage="https://github.com/rofl0r/gettext-tiny"
license="MIT"
distfiles="https://github.com/rofl0r/${pkgname}/archive/v${version}.tar.gz"
checksum=70f3aa3874214fe30cdc7159dca08a6ceb253c0cad9acde50f53d3164f43fe52
create_srcdir=yes
do_build() {
make ${makejobs} prefix=/usr
}
do_install() {
make ${makejobs} prefix=/usr DESTDIR=${DESTDIR} install
}
gettext-tiny_package() {
conflicts="gettext>=0"
pkg_install() {
vmove usr
}
}
gettext-tiny-devel_package() {
conflicts="glibc-devel>=0 musl>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib
}
}