Commit 5ee2db80 authored by Natanael Copa's avatar Natanael Copa

community/mktorrent: upgrade to 1.1

parent 88201495
# 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"
......@@ -11,8 +11,8 @@ depends=""
makedepends="libressl-dev"
install=""
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/mktorrent/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
make || return 1
......@@ -21,9 +21,7 @@ build() {
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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment