blob: 68f7aa074d24e9f75edaeb943223c0850204e0a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mktorrent
pkgver=1.1
pkgrel=1
pkgdesc="A handy tool for creating .torrent files"
url="http://borg.uu3.net/~borg/?mktorrent"
arch="all"
license="BSD"
makedepends="libressl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Rudde/mktorrent/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
./mktorrent -h > /dev/null
}
package() {
cd "$builddir"
install -D -m755 mktorrent $pkgdir/usr/bin/mktorrent-borg
install -D -m644 COPYING $pkgdir/usr/share/licenses/mktorrent/COPYING
}
sha512sums="2a7ce83950711cf5be098693ad79273b29bcd8a5ef345ea296c7b6b83c532dd3463b347c7137234f1890cb4ea663ee5a5b1878591bc8fb4386d94e4f65410859 mktorrent-1.1.tar.gz"
|