diff options
Diffstat (limited to 'testing/detox/APKBUILD')
-rw-r--r-- | testing/detox/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/detox/APKBUILD b/testing/detox/APKBUILD new file mode 100644 index 0000000000..c49183583b --- /dev/null +++ b/testing/detox/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: z3bra <willy at mailoo dot org> +# Maintainer: +pkgname=detox +pkgver=1.2.0 +pkgrel=0 +pkgdesc="utility designed to clean up filenames" +url="http://detox.sourceforge.net/" +arch="all" +license="BSD" +depends="" +depends_dev="flex-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="saveas-http://sourceforge.net/projects/detox/files/detox/1.2.0/detox-1.2.0.tar.bz2/download/$pkgname-$pkgver.tar.bz2" + +_builddir=$srcdir/$pkgname-$pkgver +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --datadir=/usr/share \ + make || return 1 +} + +package() { + cd "$_builddir" + + install -d -m 755 $pkgdir/etc + install -d -m 755 $pkgdir/usr/bin + install -d -m 755 $pkgdir/usr/share/detox + install -d -m 755 $pkgdir/usr/share/man/man1 + install -d -m 755 $pkgdir/usr/share/man/man5 + + make DESTDIR=$pkgdir install +} + +md5sums="da34c6bc3c68ce2fb008e25066e72927 detox-1.2.0.tar.bz2" +sha256sums="abfad90ee7d3e0fc53ce3b9da3253f9a800cdd92e3f8cc12a19394a7b1dcdbf8 detox-1.2.0.tar.bz2" +sha512sums="48c0060ed0538c26aeba444bf327f1e52ea47d0e696577deeb43304dfb960ee5abe984651948bfc67c51d7f15f9051df2a208acfe53a5778a7471460e87f639a detox-1.2.0.tar.bz2" |