blob: e6bb2dd9a9816f7bf77ca1d62295648f548809c4 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mktorrent-borg
pkgver=0.9.9
pkgrel=0
pkgdesc="A handy tool for creating .torrent files"
url="http://borg.uu3.net/~borg/"
arch="all"
license="BSD-3-Clause"
makedepends="openssl-dev"
subpackages="$pkgname-doc"
source="http://borg.uu3.net/ftp/pub/unix/mktorrent/mktorrent-$pkgver.tgz"
builddir="$srcdir/${pkgname/-borg/}"
build() {
make
}
check() {
./mktorrent --help > /dev/null
}
package() {
install -D -m755 mktorrent $pkgdir/usr/bin/mktorrent
install -D -m644 LICENSE $pkgdir/usr/share/licenses/mktorrent/LICENSE
}
sha512sums="
ff702383c99d5c80b4433fb279968e1f19c6315216a2b74064ba57240ecd990b674195c035278c7e54801b77ab76fbb94667d8d7938d5ce2348faf015de27c5f mktorrent-0.9.9.tgz
"
|