diff --git a/srcpkgs/poppler-data/template b/srcpkgs/poppler-data/template new file mode 100644 index 0000000000..6f7e4bf79f --- /dev/null +++ b/srcpkgs/poppler-data/template @@ -0,0 +1,24 @@ +# Template file for 'poppler-data' +pkgname=poppler-data +version=0.4.5 +noarch=yes +homepage="http://poppler.freedesktop.org/" +distfiles="http://poppler.freedesktop.org/$pkgname-$version.tar.gz" +short_desc="Encoding data for the poppler PDF rendering library" +maintainer="Juan RP " +license="MIT, GPL-2, Adobe (BSD alike)" +checksum=3190bc457bafe4b158f79a08e8a3f1824031ec12acefc359e68e0f04da0f70fd +long_desc=" + This package consists of encoding files for use with poppler. The + encoding files are optional and poppler will automatically read them + if they are present. When installed, the encoding files enables + poppler to correctly render CJK and Cyrrilic properly. While poppler + is licensed under the GPL, these encoding files have different license, + and thus distributed separately." + +do_install() { + make prefix=/usr DESTDIR=$DESTDIR install + + vmkdir usr/share/licenses/$pkgname + install -m644 COPYING COPYING.adobe $DESTDIR/usr/share/licenses/$pkgname +}