Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

transmission-svn-gtk updated pkgbuild

By: fredbezies on May 23rd, 2013  |  syntax: None  |  size: 1.12 KB  |  hits: 91  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: fredbezies <fredbezies@gmail.com>
  2. # Maintainer: Lari Tikkanen <lartza@wippies.com>
  3.  
  4. pkgname=transmission-svn-gtk
  5. _pkgname=transmission
  6. pkgver=14081
  7. pkgrel=1
  8. pkgdesc="Fast, easy, and free BitTorrent client (GTK+ GUI)(Git version)"
  9. arch=('i686' 'x86_64')
  10. url="http://www.transmissionbt.com/"
  11. license=('MIT')
  12. depends=('curl' 'libevent' 'gtk3' 'desktop-file-utils' 'hicolor-icon-theme')
  13. makedepends=('intltool' 'subversion')
  14. optdepends=('notification-daemon: Desktop notification support'
  15.             'transmission-cli: daemon and web support')
  16. provides=(transmission-gtk)
  17. conflicts=(transmission-gtk)
  18. install=transmission-svn-gtk.install
  19. sha1sums=('SKIP')
  20. source=("${_pkgname}::svn://svn.transmissionbt.com/Transmission/trunk")
  21.  
  22. pkgver() {
  23.   cd "${SRCDEST}/${_pkgname}"
  24.   svnversion | tr -d [A-z]
  25. }
  26.  
  27. build() {
  28.   cd "${srcdir}/${_pkgname}"
  29.   ./autogen.sh --prefix=/usr --disable-cli --disable-daemon
  30.   make
  31. }
  32.  
  33. package() {
  34.   cd "${srcdir}/${_pkgname}"
  35.   make -C gtk DESTDIR="$pkgdir/" install
  36.   make -C po DESTDIR="$pkgdir/" install
  37.   install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
  38. }