diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mktorrent/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/mktorrent/APKBUILD b/testing/mktorrent/APKBUILD new file mode 100644 index 000000000..54d91603d --- /dev/null +++ b/testing/mktorrent/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=mktorrent +pkgver=0.9.9 +pkgrel=0 +pkgdesc="A handy tool for creating .torrent files" +url="http://borg.uu3.net/~borg/?mktorrent" +arch="all" +license="BSD" +depends="" +depends_dev="openssl-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="ftp://borg.uu3.net/pub/unix/$pkgname/$pkgname-${pkgver}.tgz" +_builddir="$srcdir"/$pkgname +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + install -D -m755 mktorrent $pkgdir/usr/bin/mktorrent-borg + install -D -m644 LICENSE $pkgdir/usr/share/licenses/mktorrent/LICENSE +} + +md5sums="8bdfa36982446f3ccd8549fedefb7448 mktorrent-0.9.9.tgz" |