diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-05-30 12:19:23 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-05-30 12:22:43 +0200 |
commit | 03ad8cc2c10c3da0686b9caf51bb24c98c88db54 (patch) | |
tree | aad0b1eac0453f7117e1dc9715c1994cc2be6b8b /testing/deroff | |
parent | cf5c9dc7fd57448b5a2fbd21be411bf835cbff48 (diff) | |
download | aports-03ad8cc2c10c3da0686b9caf51bb24c98c88db54.tar.bz2 aports-03ad8cc2c10c3da0686b9caf51bb24c98c88db54.tar.xz |
testing/deroff: new aport
Diffstat (limited to 'testing/deroff')
-rw-r--r-- | testing/deroff/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/deroff/APKBUILD b/testing/deroff/APKBUILD new file mode 100644 index 0000000000..363a352092 --- /dev/null +++ b/testing/deroff/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=deroff +pkgver=2.0 +pkgrel=0 +pkgdesc="Deroff removes roff constructs from documents for the purpose of indexing" +url="http://www.moria.de/~michael/deroff/" +arch="all" +license="GPL-2.0-or-later" +depends="" +makedepends="" +install="" +options="!check" +subpackages="$pkgname-doc" +source="http://www.moria.de/~michael/$pkgname/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + cd "$builddir" + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make BINDIR="$pkgdir/usr/bin" \ + MANDIR="$pkgdir/usr/share/man" install +} + +sha512sums="8037977c4ea59ee7de1132dbd0a2197f36029d98a1ba1a39fc7d50e61fffc7e8ff092e5b0951e05a4c5653b8972959b8025135ce9c5220cbd230cd41ab3d07fd deroff-2.0.tar.gz" |