blob: 461b6dba16c487df9b565e7d6bcac809e9828960 (
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-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="ftp://borg.uu3.net/pub/unix/mktorrent/mktorrent-${pkgver}.tgz"
builddir="$srcdir/${pkgname/-borg/}"
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
./mktorrent --help > /dev/null
}
package() {
cd "$builddir"
install -D -m755 mktorrent $pkgdir/usr/bin/$pkgname
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="ff702383c99d5c80b4433fb279968e1f19c6315216a2b74064ba57240ecd990b674195c035278c7e54801b77ab76fbb94667d8d7938d5ce2348faf015de27c5f mktorrent-0.9.9.tgz"
|