[arch-commits] Commit in transmission/repos (10 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Dec 6 19:45:45 UTC 2015


    Date: Sunday, December 6, 2015 @ 20:45:45
  Author: foutrelis
Revision: 252973

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  transmission/repos/staging-i686/
  transmission/repos/staging-i686/PKGBUILD
    (from rev 252972, transmission/trunk/PKGBUILD)
  transmission/repos/staging-i686/transmission-cli.install
    (from rev 252972, transmission/trunk/transmission-cli.install)
  transmission/repos/staging-i686/transmission-gtk.install
    (from rev 252972, transmission/trunk/transmission-gtk.install)
  transmission/repos/staging-i686/transmission-qt.install
    (from rev 252972, transmission/trunk/transmission-qt.install)
  transmission/repos/staging-x86_64/
  transmission/repos/staging-x86_64/PKGBUILD
    (from rev 252972, transmission/trunk/PKGBUILD)
  transmission/repos/staging-x86_64/transmission-cli.install
    (from rev 252972, transmission/trunk/transmission-cli.install)
  transmission/repos/staging-x86_64/transmission-gtk.install
    (from rev 252972, transmission/trunk/transmission-gtk.install)
  transmission/repos/staging-x86_64/transmission-qt.install
    (from rev 252972, transmission/trunk/transmission-qt.install)

-----------------------------------------+
 staging-i686/PKGBUILD                   |   68 ++++++++++++++++++++++++++++++
 staging-i686/transmission-cli.install   |   10 ++++
 staging-i686/transmission-gtk.install   |   12 +++++
 staging-i686/transmission-qt.install    |   11 ++++
 staging-x86_64/PKGBUILD                 |   68 ++++++++++++++++++++++++++++++
 staging-x86_64/transmission-cli.install |   10 ++++
 staging-x86_64/transmission-gtk.install |   12 +++++
 staging-x86_64/transmission-qt.install  |   11 ++++
 8 files changed, 202 insertions(+)

Copied: transmission/repos/staging-i686/PKGBUILD (from rev 252972, transmission/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-06 19:45:45 UTC (rev 252973)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer : Tom Gundersen <teg at jklm.no>
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=transmission
+pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
+pkgver=2.84
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://www.transmissionbt.com/"
+license=('MIT')
+makedepends=('gtk3' 'intltool' 'curl' 'qt5-base' 'libevent')
+source=(http://mirrors.m0k.org/transmission/files/$pkgbase-$pkgver.tar.xz)
+md5sums=('411aec1c418c14f6765710d89743ae42')
+
+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' 'systemd')
+  install=transmission-cli.install
+
+  cd $pkgbase-$pkgver
+
+  for dir in daemon cli web utils
+  do
+      make -C "$dir" DESTDIR="$pkgdir" install
+  done
+
+  install -D -m644 "$srcdir/transmission-$pkgver/daemon/transmission-daemon.service" "$pkgdir/usr/lib/systemd/system/transmission.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' 'qt5-base' 'libevent' 'libxkbcommon-x11')
+  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"
+}

Copied: transmission/repos/staging-i686/transmission-cli.install (from rev 252972, transmission/trunk/transmission-cli.install)
===================================================================
--- staging-i686/transmission-cli.install	                        (rev 0)
+++ staging-i686/transmission-cli.install	2015-12-06 19:45:45 UTC (rev 252973)
@@ -0,0 +1,10 @@
+post_install() {
+  post_upgrade
+  passwd -l transmission &>/dev/null
+}
+
+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
+}

Copied: transmission/repos/staging-i686/transmission-gtk.install (from rev 252972, transmission/trunk/transmission-gtk.install)
===================================================================
--- staging-i686/transmission-gtk.install	                        (rev 0)
+++ staging-i686/transmission-gtk.install	2015-12-06 19:45:45 UTC (rev 252973)
@@ -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
+}

Copied: transmission/repos/staging-i686/transmission-qt.install (from rev 252972, transmission/trunk/transmission-qt.install)
===================================================================
--- staging-i686/transmission-qt.install	                        (rev 0)
+++ staging-i686/transmission-qt.install	2015-12-06 19:45:45 UTC (rev 252973)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: transmission/repos/staging-x86_64/PKGBUILD (from rev 252972, transmission/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-06 19:45:45 UTC (rev 252973)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer : Tom Gundersen <teg at jklm.no>
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=transmission
+pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
+pkgver=2.84
+pkgrel=2
+arch=('i686' 'x86_64')
+url="http://www.transmissionbt.com/"
+license=('MIT')
+makedepends=('gtk3' 'intltool' 'curl' 'qt5-base' 'libevent')
+source=(http://mirrors.m0k.org/transmission/files/$pkgbase-$pkgver.tar.xz)
+md5sums=('411aec1c418c14f6765710d89743ae42')
+
+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' 'systemd')
+  install=transmission-cli.install
+
+  cd $pkgbase-$pkgver
+
+  for dir in daemon cli web utils
+  do
+      make -C "$dir" DESTDIR="$pkgdir" install
+  done
+
+  install -D -m644 "$srcdir/transmission-$pkgver/daemon/transmission-daemon.service" "$pkgdir/usr/lib/systemd/system/transmission.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' 'qt5-base' 'libevent' 'libxkbcommon-x11')
+  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"
+}

Copied: transmission/repos/staging-x86_64/transmission-cli.install (from rev 252972, transmission/trunk/transmission-cli.install)
===================================================================
--- staging-x86_64/transmission-cli.install	                        (rev 0)
+++ staging-x86_64/transmission-cli.install	2015-12-06 19:45:45 UTC (rev 252973)
@@ -0,0 +1,10 @@
+post_install() {
+  post_upgrade
+  passwd -l transmission &>/dev/null
+}
+
+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
+}

Copied: transmission/repos/staging-x86_64/transmission-gtk.install (from rev 252972, transmission/trunk/transmission-gtk.install)
===================================================================
--- staging-x86_64/transmission-gtk.install	                        (rev 0)
+++ staging-x86_64/transmission-gtk.install	2015-12-06 19:45:45 UTC (rev 252973)
@@ -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
+}

Copied: transmission/repos/staging-x86_64/transmission-qt.install (from rev 252972, transmission/trunk/transmission-qt.install)
===================================================================
--- staging-x86_64/transmission-qt.install	                        (rev 0)
+++ staging-x86_64/transmission-qt.install	2015-12-06 19:45:45 UTC (rev 252973)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list