aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 13:55:56 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 13:56:49 +0000
commite4a164f9419ff4bb25b40670e43b65c18a9ff026 (patch)
tree241dbb3de0a3ef50d31a44806a95e05610288144
parent3367736c61aa38fec6b8de9e93a25bd8c38fbb09 (diff)
downloadaports-e4a164f9419ff4bb25b40670e43b65c18a9ff026.tar.bz2
aports-e4a164f9419ff4bb25b40670e43b65c18a9ff026.tar.xz
Revert "community/mktorrent: upgrade to 1.1"
This reverts commit ee42bade3779b97334643c2d7379c0de9a01b55f. Revert because it is actually another project with the same name, not an upgrade.
-rw-r--r--community/mktorrent/APKBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/community/mktorrent/APKBUILD b/community/mktorrent/APKBUILD
index 1bdbac0ce6..d993490791 100644
--- a/community/mktorrent/APKBUILD
+++ b/community/mktorrent/APKBUILD
@@ -1,27 +1,29 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mktorrent
-pkgver=1.1
-pkgrel=0
+pkgver=0.9.9
+pkgrel=3
pkgdesc="A handy tool for creating .torrent files"
url="http://borg.uu3.net/~borg/?mktorrent"
arch="all"
license="BSD"
+depends=""
makedepends="libressl-dev"
-options="!check"
+install=""
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/Rudde/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
-
+source="ftp://borg.uu3.net/pub/unix/$pkgname/$pkgname-${pkgver}.tgz"
+builddir="$srcdir"/$pkgname
build() {
cd "$builddir"
- make
+ make || return 1
}
package() {
cd "$builddir"
install -D -m755 mktorrent $pkgdir/usr/bin/mktorrent-borg
- install -D -m644 COPYING $pkgdir/usr/share/licenses/mktorrent/COPYING
+ install -D -m644 LICENSE $pkgdir/usr/share/licenses/mktorrent/LICENSE
}
-sha512sums="2a7ce83950711cf5be098693ad79273b29bcd8a5ef345ea296c7b6b83c532dd3463b347c7137234f1890cb4ea663ee5a5b1878591bc8fb4386d94e4f65410859 mktorrent-1.1.tar.gz"
+md5sums="8bdfa36982446f3ccd8549fedefb7448 mktorrent-0.9.9.tgz"
+sha256sums="d9dc38d13dffe817c4e20c9c489b0e46a0f2b9ae2bc0367d5e6bba8e5cdde83f mktorrent-0.9.9.tgz"
+sha512sums="ff702383c99d5c80b4433fb279968e1f19c6315216a2b74064ba57240ecd990b674195c035278c7e54801b77ab76fbb94667d8d7938d5ce2348faf015de27c5f mktorrent-0.9.9.tgz"