Subject: [alpine-aports] [PATCH] testing/enscript: new aport

From: Steffen Nurpmeso <[email-masked]>
Date: Sat, 30 Sep 2017 22:27:07 +0200

https://www.gnu.org/software/enscript/
GNU Enscript converts ASCII files to PostScript, HTML, or RTF
---
 testing/enscript/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/enscript/APKBUILD

diff --git a/testing/enscript/APKBUILD b/testing/enscript/APKBUILD
new file mode 100644
index 0000000..ee08926
--- /dev/null
+++ b/testing/enscript/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Steffen Nurpmeso <[email-masked]>
+pkgname=enscript
+pkgver=1.6.6
+pkgrel=0
+pkgdesc="GNU Enscript converts ASCII files to PostScript, HTML, or RTF"
+url="https://www.gnu.org/software/enscript/"
+arch="all"
+license="GPL3"
+subpackages="$pkgname-doc"
+source="http://ftp.gnu.org/gnu/enscript/$pkgname-$pkgver.tar.gz"
+
+builddir="$srcdir/$pkgname-$pkgver"
+options="!check"
+
+# Avoid paths sneak in.
+unset LIBRARY_PATH LD_RUN_PATH
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+C_INCLUDE_PATH=/usr/include
+LD_LIBRARY_PATH=/lib:/usr/lib
+export PATH C_INCLUDE_PATH LD_LIBRARY_PATH
+
+build() {
+	cd "$builddir"
+	./configure --prefix=/usr --disable-nls
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+
+	rm -rf "$pkgdir"/usr/share/info
+	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="bf1c2b9ea7723518a1ef312145ddcd6ffdef0c6e8b5795ea84cb55d76fccc02f441d0c2dc6897e970368186e6a829ab74a090716624e0f7a8f575653fa495ebc  enscript-1.6.6.tar.gz"
-- 
2.14.2

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---