diff --git a/srcpkgs/gettext-tiny-devel b/srcpkgs/gettext-tiny-devel new file mode 120000 index 0000000000..02d053e8bc --- /dev/null +++ b/srcpkgs/gettext-tiny-devel @@ -0,0 +1 @@ +gettext-tiny \ No newline at end of file diff --git a/srcpkgs/gettext-tiny/template b/srcpkgs/gettext-tiny/template new file mode 100644 index 0000000000..04e8758b9a --- /dev/null +++ b/srcpkgs/gettext-tiny/template @@ -0,0 +1,36 @@ +# 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 " +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 + } +}