diff options
-rw-r--r-- | main/transmission/APKBUILD | 32 | ||||
-rw-r--r-- | x11/transmission/APKBUILD | 47 | ||||
-rw-r--r-- | x11/transmission/transmission-daemon.confd (renamed from main/transmission/transmission-daemon.confd) | 0 | ||||
-rw-r--r-- | x11/transmission/transmission-daemon.initd (renamed from main/transmission/transmission-daemon.initd) | 0 | ||||
-rw-r--r-- | x11/transmission/transmission.pre-install (renamed from main/transmission/transmission.pre-install) | 0 |
5 files changed, 47 insertions, 32 deletions
diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD deleted file mode 100644 index 0942c1b2a..000000000 --- a/main/transmission/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer:Carlo Landmeter -pkgname=transmission -pkgver=1.61 -pkgel=0 -pkgdesc="Fast, easy, and fee BitToent client (CLI tools daemon and webinterface)" -url="http://www.tansmissionbt.com" -install="$pkgname.pre-install" -license="MIT" -depends="curl" -makedepends="openssl-dev pkgconfig curl-dev g++" -source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2 - transmission-daemon.initd - transmission-daemon.confd - $pkgname.pre-install" -subpackages="$pkgname-doc" - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --disable-gtk \ - --disable-nls - make || return 1 - make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install - install -D -m755 "$srcdir"/transmission-daemon.initd "$pkgdir"/etc/init.d/transmission-daemon - install -D -m644 "$srcdir"/transmission-daemon.confd "$pkgdir"/etc/conf.d/transmission-daemon -} -md5sums="0b0428f4a6237a64dc8b7d378ace3f06 transmission-1.61.tar.bz2 -b3b921242bdc3b33a8ac05fc30653b6c transmission-daemon.initd -89478a70fcd93463e1dd8d751da994da transmission-daemon.confd -f1c8d94e1f7ff77c23a7e92d3860754d transmission.pre-install" diff --git a/x11/transmission/APKBUILD b/x11/transmission/APKBUILD new file mode 100644 index 000000000..e1a52ebca --- /dev/null +++ b/x11/transmission/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer:Carlo Landmeter +pkgname=transmission +pkgver=1.74 +pkgel=0 +pkgdesc="Lightweight GTK BitTorrent client" +url="http://www.tansmissionbt.com" +install="$pkgname.pre-install" +license="MIT" +depends= +makedepends="openssl-dev pkgconfig curl-dev gtk+-dev intltool" +source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2 + transmission-daemon.initd + transmission-daemon.confd + " +subpackages="$pkgname-cli $pkgname-daemon $pkgname-doc" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man + make || return 1 + make DESTDIR="$pkgdir" install +} + +daemon() { + pkgdesc="Lightweight BitTorrent client (daemon and webinterface)" + install -d "$subpkgdir"/usr/share "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/transmission-daemon "$subpkgdir"/usr/bin/ + mv "$pkgdir"/usr/share/transmission "$subpkgdir"/usr/share/ + install -D -m755 "$srcdir"/transmission-daemon.initd \ + "$pkgdir"/etc/init.d/transmission-daemon + install -D -m644 "$srcdir"/transmission-daemon.confd \ + "$pkgdir"/etc/conf.d/transmission-daemon +} + +cli() { + pkgdesc="Lightweight BitTorrent client (cli and remote)" + install -d "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/transmission-remote \ + "$pkgdir"/usr/bin/transmissioncli \ + "$subpkgdir"/usr/bin/ +} + +md5sums="6b1080800c62308179cfc7a691c82d63 transmission-1.74.tar.bz2 +b3b921242bdc3b33a8ac05fc30653b6c transmission-daemon.initd +89478a70fcd93463e1dd8d751da994da transmission-daemon.confd" diff --git a/main/transmission/transmission-daemon.confd b/x11/transmission/transmission-daemon.confd index c1f338f07..c1f338f07 100644 --- a/main/transmission/transmission-daemon.confd +++ b/x11/transmission/transmission-daemon.confd diff --git a/main/transmission/transmission-daemon.initd b/x11/transmission/transmission-daemon.initd index af9461cc6..af9461cc6 100644 --- a/main/transmission/transmission-daemon.initd +++ b/x11/transmission/transmission-daemon.initd diff --git a/main/transmission/transmission.pre-install b/x11/transmission/transmission.pre-install index 44a14760f..44a14760f 100644 --- a/main/transmission/transmission.pre-install +++ b/x11/transmission/transmission.pre-install |