aboutsummaryrefslogtreecommitdiffstats
path: root/community/mktorrent
diff options
context:
space:
mode:
Diffstat (limited to 'community/mktorrent')
-rw-r--r--community/mktorrent/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/mktorrent/APKBUILD b/community/mktorrent/APKBUILD
index 98db52a93c..68f7aa074d 100644
--- a/community/mktorrent/APKBUILD
+++ b/community/mktorrent/APKBUILD
@@ -2,20 +2,25 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mktorrent
pkgver=1.1
-pkgrel=0
+pkgrel=1
pkgdesc="A handy tool for creating .torrent files"
url="http://borg.uu3.net/~borg/?mktorrent"
arch="all"
license="BSD"
-depends=""
makedepends="libressl-dev"
-install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Rudde/mktorrent/archive/v$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+
+builddir="$srcdir/$pkgname-$pkgver"
+
build() {
cd "$builddir"
- make || return 1
+ make
+}
+
+check() {
+ cd "$builddir"
+ ./mktorrent -h > /dev/null
}
package() {