blob: 54d91603d13a0a93e8151a3acccc496a1c858779 (
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
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=mktorrent
pkgver=0.9.9
pkgrel=0
pkgdesc="A handy tool for creating .torrent files"
url="http://borg.uu3.net/~borg/?mktorrent"
arch="all"
license="BSD"
depends=""
depends_dev="openssl-dev"
makedepends="$depends_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"
|