diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-26 06:53:40 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-05-26 06:53:45 +0000 |
commit | e80b6884ae24d30ca79f7aeece477bee42714eed (patch) | |
tree | fe9ff6fe5d28a970e5134d261cd9da842f3e73f0 | |
parent | d4346ba273a38e0de47a4a858a281a5dc4f692f0 (diff) | |
download | aports-e80b6884ae24d30ca79f7aeece477bee42714eed.tar.bz2 aports-e80b6884ae24d30ca79f7aeece477bee42714eed.tar.xz |
testing/html2text: new aport
-rw-r--r-- | testing/html2text/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/html2text/APKBUILD b/testing/html2text/APKBUILD new file mode 100644 index 0000000000..99392d8cfc --- /dev/null +++ b/testing/html2text/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=html2text +pkgver=1.3.2a +pkgrel=0 +pkgdesc="html2text is a command line utility, written in C++, that converts HTML documents into plain text." +url="http://www.mbayer.de/html2text/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="$depends_dev bison" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/marado/$pkgname/archive/${pkgver}-17.tar.gz + path-config.patch" + +builddir="$srcdir"/$pkgname-${pkgver}-17 + +build() { + cd "$builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$builddir" + install -Dpm755 'html2text' "${pkgdir}/usr/bin/html2text" + install -Dpm644 'html2text.1.gz' "${pkgdir}/usr/share/man/man1/html2text.1.gz" + install -Dpm644 'html2textrc.5.gz' "${pkgdir}/usr/share/man/man5/html2textrc.5.gz" +} + +md5sums="b6649dc6d54418ef4527ea6be580379a html2text-1.3.2a.tar.gz +33f7de1a68048465a533018eac6d7868 path-config.patch" +sha256sums="d8c5660a2bff7b0b7e85a83bc146f5669fd20a85934f793c543dc6efea423991 html2text-1.3.2a.tar.gz +fa4fe038bf8897e2f57eb038c949cbf1deb7ac68ffda72bfe8391361fa6d14ba path-config.patch" +sha512sums="fac0e06211f699ea69cd9c9ea9347758e57402e56aba64cfa3a46446f1278e4ffc6953c7b3fef5ed5617200fda7c57a81d26dec9eb6f3e58d8223a1631b28dd9 html2text-1.3.2a.tar.gz +bf4387d12727016c40d9cbad3b4896443f1253071eba6b2f929435164b1d3cb4adbd3d5b8db3f0905a7b7b7e4468be274e950b704179ef6f083810903fb1aa84 path-config.patch" |