aboutsummaryrefslogtreecommitdiffstats
path: root/community/mktorrent/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 08:26:01 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 08:32:52 +0000
commitee42bade3779b97334643c2d7379c0de9a01b55f (patch)
treead1a3a0c0e7b70d557128474b2f4d701fd775238 /community/mktorrent/APKBUILD
parent47b25f3cfeca0639e3adf7b4da08f347f115573b (diff)
downloadaports-ee42bade3779b97334643c2d7379c0de9a01b55f.tar.bz2
aports-ee42bade3779b97334643c2d7379c0de9a01b55f.tar.xz
community/mktorrent: upgrade to 1.1
Diffstat (limited to 'community/mktorrent/APKBUILD')
-rw-r--r--community/mktorrent/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/community/mktorrent/APKBUILD b/community/mktorrent/APKBUILD
index d993490791..1bdbac0ce6 100644
--- a/community/mktorrent/APKBUILD
+++ b/community/mktorrent/APKBUILD
@@ -1,29 +1,27 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mktorrent
-pkgver=0.9.9
-pkgrel=3
+pkgver=1.1
+pkgrel=0
pkgdesc="A handy tool for creating .torrent files"
url="http://borg.uu3.net/~borg/?mktorrent"
arch="all"
license="BSD"
-depends=""
makedepends="libressl-dev"
-install=""
+options="!check"
subpackages="$pkgname-doc"
-source="ftp://borg.uu3.net/pub/unix/$pkgname/$pkgname-${pkgver}.tgz"
-builddir="$srcdir"/$pkgname
+source="$pkgname-$pkgver.tar.gz::https://github.com/Rudde/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
+
build() {
cd "$builddir"
- make || return 1
+ make
}
package() {
cd "$builddir"
install -D -m755 mktorrent $pkgdir/usr/bin/mktorrent-borg
- install -D -m644 LICENSE $pkgdir/usr/share/licenses/mktorrent/LICENSE
+ install -D -m644 COPYING $pkgdir/usr/share/licenses/mktorrent/COPYING
}
-md5sums="8bdfa36982446f3ccd8549fedefb7448 mktorrent-0.9.9.tgz"
-sha256sums="d9dc38d13dffe817c4e20c9c489b0e46a0f2b9ae2bc0367d5e6bba8e5cdde83f mktorrent-0.9.9.tgz"
-sha512sums="ff702383c99d5c80b4433fb279968e1f19c6315216a2b74064ba57240ecd990b674195c035278c7e54801b77ab76fbb94667d8d7938d5ce2348faf015de27c5f mktorrent-0.9.9.tgz"
+sha512sums="2a7ce83950711cf5be098693ad79273b29bcd8a5ef345ea296c7b6b83c532dd3463b347c7137234f1890cb4ea663ee5a5b1878591bc8fb4386d94e4f65410859 mktorrent-1.1.tar.gz"