summaryrefslogtreecommitdiffstats
path: root/abs/extra/transmission/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-02 17:23:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-02 17:23:35 (GMT)
commit6d9dd628c02db0885228005684bd81c1849dd0dd (patch)
tree01e24bbd60a60dca886ec9350fea85ebfe1134f8 /abs/extra/transmission/PKGBUILD
parent216d08c3941deed5ac0c9325d6bf33dcdfa1f5ac (diff)
downloadlinhes_pkgbuild-6d9dd628c02db0885228005684bd81c1849dd0dd.zip
linhes_pkgbuild-6d9dd628c02db0885228005684bd81c1849dd0dd.tar.gz
linhes_pkgbuild-6d9dd628c02db0885228005684bd81c1849dd0dd.tar.bz2
transmission: 2.7.3
Diffstat (limited to 'abs/extra/transmission/PKGBUILD')
-rw-r--r--abs/extra/transmission/PKGBUILD78
1 files changed, 78 insertions, 0 deletions
diff --git a/abs/extra/transmission/PKGBUILD b/abs/extra/transmission/PKGBUILD
new file mode 100644
index 0000000..77d3403
--- /dev/null
+++ b/abs/extra/transmission/PKGBUILD
@@ -0,0 +1,78 @@
+# $Id: PKGBUILD 170069 2012-10-31 13:47:37Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+
+pkgbase=transmission
+pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
+pkgver=2.73
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://www.transmissionbt.com/"
+license=('MIT')
+makedepends=('gtk3' 'intltool' 'curl' 'qt' 'libevent')
+source=(http://mirrors.m0k.org/transmission/files/$pkgbase-$pkgver.tar.xz
+ transmissiond transmissiond.conf transmission.systemd
+ transmission.tmpfiles)
+
+build() {
+ cd $pkgbase-$pkgver
+
+ ./configure --prefix=/usr
+ make
+ pushd qt
+ qmake qtr.pro
+ make
+}
+package_transmission-cli() {
+ pkgdesc="Fast, easy, and free BitTorrent client (CLI tools, daemon and web client)"
+ depends=('curl' 'libevent')
+ backup=('etc/conf.d/transmissiond')
+ install=transmission-cli.install
+
+ cd $pkgbase-$pkgver
+
+ for dir in daemon cli web utils
+ do
+ make -C "$dir" DESTDIR="$pkgdir" install
+ done
+
+ install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond"
+ install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond"
+ install -D -m644 "$srcdir/transmission.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/transmission.conf"
+ install -D -m644 "$srcdir/transmission.systemd" "$pkgdir/usr/lib/systemd/system/transmission.service"
+ ln -s transmission.service "$pkgdir/usr/lib/systemd/system/transmissiond.service"
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING"
+}
+
+package_transmission-gtk() {
+ pkgdesc="Fast, easy, and free BitTorrent client (GTK+ GUI)"
+ depends=('curl' 'libevent' 'gtk3' 'desktop-file-utils' 'hicolor-icon-theme')
+ optdepends=('notification-daemon: Desktop notification support'
+ 'transmission-cli: daemon and web support')
+ install=transmission-gtk.install
+
+ cd $pkgbase-$pkgver
+
+ make -C gtk DESTDIR="$pkgdir" install
+ make -C po DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-gtk/COPYING"
+}
+
+package_transmission-qt() {
+ pkgdesc="Fast, easy, and free BitTorrent client (Qt GUI)"
+ depends=('curl' 'qt' 'libevent')
+ optdepends=('transmission-cli: daemon and web support')
+ install=transmission-qt.install
+
+ cd $pkgbase-$pkgver
+
+ make -C qt INSTALL_ROOT="$pkgdir"/usr install
+
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-qt/COPYING"
+ install -D -m644 qt/icons/transmission.png "$pkgdir/usr/share/pixmaps/transmission-qt.png"
+ install -D -m644 qt/transmission-qt.desktop "$pkgdir/usr/share/applications/transmission-qt.desktop"
+}
+md5sums=('fae00b13a7b18f9dc16edef020edea85'
+ '7d6186ee2a852ae3d44980f05063e194'
+ 'db72b02fee139e8ab416324e6c044d76'
+ '5c289c8901221a94be74665368ab5c2c'
+ '23f2320361ad54373c3a4551ef634fe8')