SHARE
TWEET

Untitled

a guest May 29th, 2016 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- PKGBUILD    2016-05-30 00:08:26.693270388 +0300
  2. +++ PKGBUILD2   2016-05-30 00:11:53.258276612 +0300
  3. @@ -9,7 +9,7 @@
  4.  arch=('i686' 'x86_64')
  5.  url="http://www.transmissionbt.com/"
  6.  license=('MIT')
  7. -makedepends=('gtk3' 'intltool' 'curl' 'qt5-base' 'libevent' 'systemd')
  8. +makedepends=('gtk3' 'intltool' 'curl' 'qt5-base' 'qt5-tools' 'libevent' 'systemd')
  9.  source=(https://download.transmissionbt.com/files/transmission-${pkgver}.tar.xz
  10.          transmission-2.90-libsystemd.patch)
  11.  md5sums=('3fce404a436e3cd7fde80fb6ed61c264'
  12. @@ -18,6 +18,7 @@
  13.  prepare() {
  14.    cd $pkgbase-$pkgver
  15.    patch -p1 -i "$srcdir/transmission-2.90-libsystemd.patch"
  16. +  rm m4/glib-gettext.m4
  17.    autoreconf -fi
  18.  }
  19.  
  20. @@ -27,8 +28,9 @@
  21.    make
  22.  
  23.    cd qt
  24. -  qmake qtr.pro
  25. +  qmake qtr.pro DEFINES+=TRANSLATIONS_DIR=\\\\\\\"/usr/share/transmission-qt/translations\\\\\\\"
  26.    make
  27. +  lrelease translations/*.ts
  28.  }
  29.  
  30.  package_transmission-cli() {
  31. @@ -71,6 +73,8 @@
  32.  
  33.    make -C qt INSTALL_ROOT="$pkgdir"/usr install
  34.  
  35. +  install -Dm644 -t "$pkgdir/usr/share/transmission-qt/translations" qt/translations/*.qm
  36. +
  37.    install -Dm644 COPYING "$pkgdir/usr/share/licenses/transmission-qt/COPYING"
  38.    install -Dm644 qt/icons/transmission.png \
  39.      "$pkgdir/usr/share/pixmaps/transmission-qt.png"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top