aboutsummaryrefslogtreecommitdiffstats
path: root/community/mktorrent/APKBUILD
blob: d993490791b368536008897bc9750c2822e57132 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:  Francesco Colista <fcolista@alpinelinux.org>
pkgname=mktorrent
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"
install=""
subpackages="$pkgname-doc"
source="ftp://borg.uu3.net/pub/unix/$pkgname/$pkgname-${pkgver}.tgz"
builddir="$srcdir"/$pkgname
build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	install -D -m755 mktorrent $pkgdir/usr/bin/mktorrent-borg
	install -D -m644 LICENSE $pkgdir/usr/share/licenses/mktorrent/LICENSE
}

md5sums="8bdfa36982446f3ccd8549fedefb7448  mktorrent-0.9.9.tgz"
sha256sums="d9dc38d13dffe817c4e20c9c489b0e46a0f2b9ae2bc0367d5e6bba8e5cdde83f  mktorrent-0.9.9.tgz"
sha512sums="ff702383c99d5c80b4433fb279968e1f19c6315216a2b74064ba57240ecd990b674195c035278c7e54801b77ab76fbb94667d8d7938d5ce2348faf015de27c5f  mktorrent-0.9.9.tgz"