Guest User

Untitled

a guest
Oct 27th, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. # $Id: PKGBUILD 141093 2011-10-23 18:45:30Z ibiru $
  2. # Maintainer : Ionut Biru <[email protected]>
  3.  
  4. pkgbase=transmission
  5. pkgname=('transmission-gtk')
  6. pkgver=2.42
  7. pkgrel=1
  8. arch=('i686' 'x86_64')
  9. url="http://www.transmissionbt.com/"
  10. license=('MIT')
  11. makedepends=('gtk3' 'intltool' 'curl' 'qt' 'libevent')
  12. source=(http://mirrors.m0k.org/transmission/files/${pkgbase}-${pkgver}.tar.xz
  13. transmissiond transmissiond.conf)
  14. md5sums=('50f6dd76c5c01f45d5ed20783c686815'
  15. '08875299e3fbb68fc546c1f350ac1f06'
  16. 'be39806c35b7544856fa4070b00fc960')
  17. build() {
  18. cd "${srcdir}/${pkgbase}-${pkgver}"
  19.  
  20. ./configure --prefix=/usr --with-gtk=2
  21. make
  22. }
  23. package_transmission-gtk() {
  24. pkgdesc="Fast, easy, and free BitTorrent client (GTK+ GUI)"
  25. depends=('curl' 'libevent' 'gtk3' 'desktop-file-utils' 'hicolor-icon-theme')
  26. optdepends=('notification-daemon: Desktop notification support'
  27. 'transmission-cli: daemon and web support')
  28. install=transmission-gtk.install
  29.  
  30. cd "${srcdir}/${pkgbase}-${pkgver}"
  31.  
  32. make -C gtk DESTDIR="${pkgdir}" install
  33. make -C po DESTDIR="${pkgdir}" install
  34. install -D -m644 COPYING "${pkgdir}/usr/share/licenses/transmission-gtk/COPYING"
  35. }
  36.  
Advertisement
Add Comment
Please, Sign In to add comment