[arch-commits] Commit in transmission/repos (34 files)
Tom Gundersen
tomegun at archlinux.org
Mon Aug 20 13:24:11 UTC 2012
Date: Monday, August 20, 2012 @ 09:24:10
Author: tomegun
Revision: 165469
db-move: moved transmission from [extra] to [testing] (i686, x86_64)
Added:
transmission/repos/testing-i686/PKGBUILD
(from rev 165468, transmission/repos/extra-i686/PKGBUILD)
transmission/repos/testing-i686/transmission-cli.install
(from rev 165468, transmission/repos/extra-i686/transmission-cli.install)
transmission/repos/testing-i686/transmission-gtk.install
(from rev 165468, transmission/repos/extra-i686/transmission-gtk.install)
transmission/repos/testing-i686/transmission-qt.install
(from rev 165468, transmission/repos/extra-i686/transmission-qt.install)
transmission/repos/testing-i686/transmission.systemd
(from rev 165468, transmission/repos/extra-i686/transmission.systemd)
transmission/repos/testing-i686/transmission.tmpfiles
(from rev 165468, transmission/repos/extra-i686/transmission.tmpfiles)
transmission/repos/testing-i686/transmissiond
(from rev 165468, transmission/repos/extra-i686/transmissiond)
transmission/repos/testing-i686/transmissiond.conf
(from rev 165468, transmission/repos/extra-i686/transmissiond.conf)
transmission/repos/testing-x86_64/PKGBUILD
(from rev 165468, transmission/repos/extra-x86_64/PKGBUILD)
transmission/repos/testing-x86_64/transmission-cli.install
(from rev 165468, transmission/repos/extra-x86_64/transmission-cli.install)
transmission/repos/testing-x86_64/transmission-gtk.install
(from rev 165468, transmission/repos/extra-x86_64/transmission-gtk.install)
transmission/repos/testing-x86_64/transmission-qt.install
(from rev 165468, transmission/repos/extra-x86_64/transmission-qt.install)
transmission/repos/testing-x86_64/transmission.systemd
(from rev 165468, transmission/repos/extra-x86_64/transmission.systemd)
transmission/repos/testing-x86_64/transmission.tmpfiles
(from rev 165468, transmission/repos/extra-x86_64/transmission.tmpfiles)
transmission/repos/testing-x86_64/transmissiond
(from rev 165468, transmission/repos/extra-x86_64/transmissiond)
transmission/repos/testing-x86_64/transmissiond.conf
(from rev 165468, transmission/repos/extra-x86_64/transmissiond.conf)
Deleted:
transmission/repos/extra-i686/
transmission/repos/extra-x86_64/
transmission/repos/testing-i686/PKGBUILD
transmission/repos/testing-i686/transmission-cli.install
transmission/repos/testing-i686/transmission-gtk.install
transmission/repos/testing-i686/transmission-qt.install
transmission/repos/testing-i686/transmission.systemd
transmission/repos/testing-i686/transmission.tmpfiles
transmission/repos/testing-i686/transmissiond
transmission/repos/testing-i686/transmissiond.conf
transmission/repos/testing-x86_64/PKGBUILD
transmission/repos/testing-x86_64/transmission-cli.install
transmission/repos/testing-x86_64/transmission-gtk.install
transmission/repos/testing-x86_64/transmission-qt.install
transmission/repos/testing-x86_64/transmission.systemd
transmission/repos/testing-x86_64/transmission.tmpfiles
transmission/repos/testing-x86_64/transmissiond
transmission/repos/testing-x86_64/transmissiond.conf
-----------------------------------------+
testing-i686/PKGBUILD | 156 +++++++++++++++---------------
testing-i686/transmission-cli.install | 32 +++---
testing-i686/transmission-gtk.install | 24 ++--
testing-i686/transmission-qt.install | 22 ++--
testing-i686/transmission.systemd | 25 ++--
testing-i686/transmission.tmpfiles | 2
testing-i686/transmissiond | 92 ++++++++---------
testing-i686/transmissiond.conf | 8 -
testing-x86_64/PKGBUILD | 156 +++++++++++++++---------------
testing-x86_64/transmission-cli.install | 32 +++---
testing-x86_64/transmission-gtk.install | 24 ++--
testing-x86_64/transmission-qt.install | 22 ++--
testing-x86_64/transmission.systemd | 25 ++--
testing-x86_64/transmission.tmpfiles | 2
testing-x86_64/transmissiond | 92 ++++++++---------
testing-x86_64/transmissiond.conf | 8 -
16 files changed, 364 insertions(+), 358 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/PKGBUILD 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=transmission
-pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
-pkgver=2.61
-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=('2ed5b7815ebda65223bac6bdb09dec42'
- '7d6186ee2a852ae3d44980f05063e194'
- 'db72b02fee139e8ab416324e6c044d76'
- 'ecccabbc301d1024c9ef6a7f4aaa530a'
- '23f2320361ad54373c3a4551ef634fe8')
Copied: transmission/repos/testing-i686/PKGBUILD (from rev 165468, transmission/repos/extra-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=transmission
+pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
+pkgver=2.61
+pkgrel=3
+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=('2ed5b7815ebda65223bac6bdb09dec42'
+ '7d6186ee2a852ae3d44980f05063e194'
+ 'db72b02fee139e8ab416324e6c044d76'
+ '5c289c8901221a94be74665368ab5c2c'
+ '23f2320361ad54373c3a4551ef634fe8')
Deleted: testing-i686/transmission-cli.install
===================================================================
--- testing-i686/transmission-cli.install 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/transmission-cli.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,16 +0,0 @@
-post_install() {
- cat << _EOF
-
- If you want to run the Transmission daemon at boot,
- add transmissiond to the DAEMONS array in /etc/rc.conf.
-
-_EOF
-}
-
-post_upgrade() {
- # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
- getent group transmission >/dev/null || groupadd -g 169 transmission
- getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -s /bin/false transmission
- passwd -l transmission &>/dev/null
- systemd-tmpfiles --create transmission.conf
-}
Copied: transmission/repos/testing-i686/transmission-cli.install (from rev 165468, transmission/repos/extra-i686/transmission-cli.install)
===================================================================
--- testing-i686/transmission-cli.install (rev 0)
+++ testing-i686/transmission-cli.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,16 @@
+post_install() {
+ cat << _EOF
+
+ If you want to run the Transmission daemon at boot,
+ add transmissiond to the DAEMONS array in /etc/rc.conf.
+
+_EOF
+}
+
+post_upgrade() {
+ # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
+ getent group transmission >/dev/null || groupadd -g 169 transmission
+ getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -m -s /bin/false transmission
+ passwd -l transmission &>/dev/null
+ systemd-tmpfiles --create transmission.conf
+}
Deleted: testing-i686/transmission-gtk.install
===================================================================
--- testing-i686/transmission-gtk.install 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/transmission-gtk.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: transmission/repos/testing-i686/transmission-gtk.install (from rev 165468, transmission/repos/extra-i686/transmission-gtk.install)
===================================================================
--- testing-i686/transmission-gtk.install (rev 0)
+++ testing-i686/transmission-gtk.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: testing-i686/transmission-qt.install
===================================================================
--- testing-i686/transmission-qt.install 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/transmission-qt.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: transmission/repos/testing-i686/transmission-qt.install (from rev 165468, transmission/repos/extra-i686/transmission-qt.install)
===================================================================
--- testing-i686/transmission-qt.install (rev 0)
+++ testing-i686/transmission-qt.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: testing-i686/transmission.systemd
===================================================================
--- testing-i686/transmission.systemd 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/transmission.systemd 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Transmission Bit Torrent Daemon
-
-[Service]
-User=transmission
-Type=forking
-PIDFile=/run/transmission/transmission.pid
-ExecStart=/usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid
-
-[Install]
-WantedBy=multi-user.target
Copied: transmission/repos/testing-i686/transmission.systemd (from rev 165468, transmission/repos/extra-i686/transmission.systemd)
===================================================================
--- testing-i686/transmission.systemd (rev 0)
+++ testing-i686/transmission.systemd 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Transmission Bit Torrent Daemon
+
+# This assumes that a user 'transmission' exists, with a writeable homedirectory,
+# and that /run/transmission exists and is writeable by the transmission user.
+
+[Service]
+User=transmission
+Type=forking
+PIDFile=/run/transmission/transmission.pid
+ExecStart=/usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid
+
+[Install]
+WantedBy=multi-user.target
Deleted: testing-i686/transmission.tmpfiles
===================================================================
--- testing-i686/transmission.tmpfiles 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/transmission.tmpfiles 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1 +0,0 @@
-d /run/transmission - transmission transmission -
Copied: transmission/repos/testing-i686/transmission.tmpfiles (from rev 165468, transmission/repos/extra-i686/transmission.tmpfiles)
===================================================================
--- testing-i686/transmission.tmpfiles (rev 0)
+++ testing-i686/transmission.tmpfiles 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1 @@
+d /run/transmission - transmission transmission -
Deleted: testing-i686/transmissiond
===================================================================
--- testing-i686/transmissiond 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/transmissiond 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/transmissiond
-
-PID=`pidof -o %PPID /usr/bin/transmission-daemon`
-case "$1" in
- start)
- stat_busy "Starting Transmission Daemon"
- [ -z "$PID" ] && su -l -s /bin/sh -c "/usr/bin/transmission-daemon $TRANS_ARGS" "${TRANS_USER:-transmission}"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon transmissiond
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Transmission Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon transmissiond
- stat_done
- fi
- ;;
- restart)
- $0 stop
- while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done
- $0 start
- ;;
- reload)
- stat_busy "Reloading config"
- [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- *)
- echo "usage: $0 {start|stop|restart|reload}"
-esac
-exit 0
Copied: transmission/repos/testing-i686/transmissiond (from rev 165468, transmission/repos/extra-i686/transmissiond)
===================================================================
--- testing-i686/transmissiond (rev 0)
+++ testing-i686/transmissiond 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/transmissiond
+
+PID=`pidof -o %PPID /usr/bin/transmission-daemon`
+case "$1" in
+ start)
+ stat_busy "Starting Transmission Daemon"
+ [ -z "$PID" ] && su -l -s /bin/sh -c "/usr/bin/transmission-daemon $TRANS_ARGS" "${TRANS_USER:-transmission}"
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon transmissiond
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Transmission Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon transmissiond
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done
+ $0 start
+ ;;
+ reload)
+ stat_busy "Reloading config"
+ [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ stat_done
+ fi
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart|reload}"
+esac
+exit 0
Deleted: testing-i686/transmissiond.conf
===================================================================
--- testing-i686/transmissiond.conf 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-i686/transmissiond.conf 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,4 +0,0 @@
-# example configuration file
-
-# TRANS_USER="transmission"
-# TRANS_ARGS=""
Copied: transmission/repos/testing-i686/transmissiond.conf (from rev 165468, transmission/repos/extra-i686/transmissiond.conf)
===================================================================
--- testing-i686/transmissiond.conf (rev 0)
+++ testing-i686/transmissiond.conf 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,4 @@
+# example configuration file
+
+# TRANS_USER="transmission"
+# TRANS_ARGS=""
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/PKGBUILD 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=transmission
-pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
-pkgver=2.61
-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=('2ed5b7815ebda65223bac6bdb09dec42'
- '7d6186ee2a852ae3d44980f05063e194'
- 'db72b02fee139e8ab416324e6c044d76'
- 'ecccabbc301d1024c9ef6a7f4aaa530a'
- '23f2320361ad54373c3a4551ef634fe8')
Copied: transmission/repos/testing-x86_64/PKGBUILD (from rev 165468, transmission/repos/extra-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=transmission
+pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
+pkgver=2.61
+pkgrel=3
+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=('2ed5b7815ebda65223bac6bdb09dec42'
+ '7d6186ee2a852ae3d44980f05063e194'
+ 'db72b02fee139e8ab416324e6c044d76'
+ '5c289c8901221a94be74665368ab5c2c'
+ '23f2320361ad54373c3a4551ef634fe8')
Deleted: testing-x86_64/transmission-cli.install
===================================================================
--- testing-x86_64/transmission-cli.install 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/transmission-cli.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,16 +0,0 @@
-post_install() {
- cat << _EOF
-
- If you want to run the Transmission daemon at boot,
- add transmissiond to the DAEMONS array in /etc/rc.conf.
-
-_EOF
-}
-
-post_upgrade() {
- # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
- getent group transmission >/dev/null || groupadd -g 169 transmission
- getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -s /bin/false transmission
- passwd -l transmission &>/dev/null
- systemd-tmpfiles --create transmission.conf
-}
Copied: transmission/repos/testing-x86_64/transmission-cli.install (from rev 165468, transmission/repos/extra-x86_64/transmission-cli.install)
===================================================================
--- testing-x86_64/transmission-cli.install (rev 0)
+++ testing-x86_64/transmission-cli.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,16 @@
+post_install() {
+ cat << _EOF
+
+ If you want to run the Transmission daemon at boot,
+ add transmissiond to the DAEMONS array in /etc/rc.conf.
+
+_EOF
+}
+
+post_upgrade() {
+ # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
+ getent group transmission >/dev/null || groupadd -g 169 transmission
+ getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -m -s /bin/false transmission
+ passwd -l transmission &>/dev/null
+ systemd-tmpfiles --create transmission.conf
+}
Deleted: testing-x86_64/transmission-gtk.install
===================================================================
--- testing-x86_64/transmission-gtk.install 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/transmission-gtk.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: transmission/repos/testing-x86_64/transmission-gtk.install (from rev 165468, transmission/repos/extra-x86_64/transmission-gtk.install)
===================================================================
--- testing-x86_64/transmission-gtk.install (rev 0)
+++ testing-x86_64/transmission-gtk.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: testing-x86_64/transmission-qt.install
===================================================================
--- testing-x86_64/transmission-qt.install 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/transmission-qt.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: transmission/repos/testing-x86_64/transmission-qt.install (from rev 165468, transmission/repos/extra-x86_64/transmission-qt.install)
===================================================================
--- testing-x86_64/transmission-qt.install (rev 0)
+++ testing-x86_64/transmission-qt.install 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Deleted: testing-x86_64/transmission.systemd
===================================================================
--- testing-x86_64/transmission.systemd 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/transmission.systemd 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Transmission Bit Torrent Daemon
-
-[Service]
-User=transmission
-Type=forking
-PIDFile=/run/transmission/transmission.pid
-ExecStart=/usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid
-
-[Install]
-WantedBy=multi-user.target
Copied: transmission/repos/testing-x86_64/transmission.systemd (from rev 165468, transmission/repos/extra-x86_64/transmission.systemd)
===================================================================
--- testing-x86_64/transmission.systemd (rev 0)
+++ testing-x86_64/transmission.systemd 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Transmission Bit Torrent Daemon
+
+# This assumes that a user 'transmission' exists, with a writeable homedirectory,
+# and that /run/transmission exists and is writeable by the transmission user.
+
+[Service]
+User=transmission
+Type=forking
+PIDFile=/run/transmission/transmission.pid
+ExecStart=/usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid
+
+[Install]
+WantedBy=multi-user.target
Deleted: testing-x86_64/transmission.tmpfiles
===================================================================
--- testing-x86_64/transmission.tmpfiles 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/transmission.tmpfiles 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1 +0,0 @@
-d /run/transmission - transmission transmission -
Copied: transmission/repos/testing-x86_64/transmission.tmpfiles (from rev 165468, transmission/repos/extra-x86_64/transmission.tmpfiles)
===================================================================
--- testing-x86_64/transmission.tmpfiles (rev 0)
+++ testing-x86_64/transmission.tmpfiles 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1 @@
+d /run/transmission - transmission transmission -
Deleted: testing-x86_64/transmissiond
===================================================================
--- testing-x86_64/transmissiond 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/transmissiond 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/transmissiond
-
-PID=`pidof -o %PPID /usr/bin/transmission-daemon`
-case "$1" in
- start)
- stat_busy "Starting Transmission Daemon"
- [ -z "$PID" ] && su -l -s /bin/sh -c "/usr/bin/transmission-daemon $TRANS_ARGS" "${TRANS_USER:-transmission}"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon transmissiond
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Transmission Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon transmissiond
- stat_done
- fi
- ;;
- restart)
- $0 stop
- while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done
- $0 start
- ;;
- reload)
- stat_busy "Reloading config"
- [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- *)
- echo "usage: $0 {start|stop|restart|reload}"
-esac
-exit 0
Copied: transmission/repos/testing-x86_64/transmissiond (from rev 165468, transmission/repos/extra-x86_64/transmissiond)
===================================================================
--- testing-x86_64/transmissiond (rev 0)
+++ testing-x86_64/transmissiond 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/transmissiond
+
+PID=`pidof -o %PPID /usr/bin/transmission-daemon`
+case "$1" in
+ start)
+ stat_busy "Starting Transmission Daemon"
+ [ -z "$PID" ] && su -l -s /bin/sh -c "/usr/bin/transmission-daemon $TRANS_ARGS" "${TRANS_USER:-transmission}"
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon transmissiond
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Transmission Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon transmissiond
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ while [ ! -z "$PID" -a -d "/proc/$PID" ]; do sleep 1; done
+ $0 start
+ ;;
+ reload)
+ stat_busy "Reloading config"
+ [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ stat_done
+ fi
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart|reload}"
+esac
+exit 0
Deleted: testing-x86_64/transmissiond.conf
===================================================================
--- testing-x86_64/transmissiond.conf 2012-08-20 13:16:36 UTC (rev 165468)
+++ testing-x86_64/transmissiond.conf 2012-08-20 13:24:10 UTC (rev 165469)
@@ -1,4 +0,0 @@
-# example configuration file
-
-# TRANS_USER="transmission"
-# TRANS_ARGS=""
Copied: transmission/repos/testing-x86_64/transmissiond.conf (from rev 165468, transmission/repos/extra-x86_64/transmissiond.conf)
===================================================================
--- testing-x86_64/transmissiond.conf (rev 0)
+++ testing-x86_64/transmissiond.conf 2012-08-20 13:24:10 UTC (rev 165469)
@@ -0,0 +1,4 @@
+# example configuration file
+
+# TRANS_USER="transmission"
+# TRANS_ARGS=""
More information about the arch-commits
mailing list