diff options
author | root <root@rshg054.dnsready.net> | 2012-01-09 23:14:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-09 23:14:46 +0000 |
commit | fdcaf644692e151ddc596b148465ce4a77e6b670 (patch) | |
tree | f462377d189cdc42041c78bf22402fec369a48c4 /extra/transmission/PKGBUILD | |
parent | 7a3611f5caa5e34c1f2b582640f97b733110ae63 (diff) |
Mon Jan 9 23:14:46 UTC 2012
Diffstat (limited to 'extra/transmission/PKGBUILD')
-rw-r--r-- | extra/transmission/PKGBUILD | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/extra/transmission/PKGBUILD b/extra/transmission/PKGBUILD index 68d081cd4..2d43a286b 100644 --- a/extra/transmission/PKGBUILD +++ b/extra/transmission/PKGBUILD @@ -1,21 +1,28 @@ -# $Id: PKGBUILD 141093 2011-10-23 18:45:30Z ibiru $ +# $Id: PKGBUILD 146293 2012-01-08 17:03:43Z ibiru $ # Maintainer : Ionut Biru <ibiru@archlinux.org> pkgbase=transmission pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt') pkgver=2.42 -pkgrel=1 +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) +source=(http://mirrors.m0k.org/transmission/files/$pkgbase-$pkgver.tar.xz + transmissiond transmissiond.conf + 0001-gtk-conf-set-correct-download-dir-default.patch + fix_minimize.patch) md5sums=('50f6dd76c5c01f45d5ed20783c686815' '08875299e3fbb68fc546c1f350ac1f06' - 'be39806c35b7544856fa4070b00fc960') + 'be39806c35b7544856fa4070b00fc960' + 'f9fae46f5aa9ed3a22af64091604c6d0' + 'bd764dea56aaf69757762ea1a4c92be2') build() { - cd "${srcdir}/${pkgbase}-${pkgver}" + cd "$srcdir/$pkgbase-$pkgver" + + patch -Np1 -i "$srcdir/0001-gtk-conf-set-correct-download-dir-default.patch" + patch -Np2 -i "$srcdir/fix_minimize.patch" ./configure --prefix=/usr make @@ -29,16 +36,16 @@ package_transmission-cli() { backup=('etc/conf.d/transmissiond') install=transmission-cli.install - cd "${srcdir}/${pkgbase}-${pkgver}" + cd "$srcdir/$pkgbase-$pkgver" for dir in daemon cli web utils do - make -C "${dir}" DESTDIR="${pkgdir}" install + 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 COPYING "${pkgdir}/usr/share/licenses/transmission-cli/COPYING" + install -D -m755 "$srcdir/transmissiond" "$pkgdir/etc/rc.d/transmissiond" + install -D -m644 "$srcdir/transmissiond.conf" "$pkgdir/etc/conf.d/transmissiond" + install -D -m644 COPYING "$pkgdir/usr/share/licenses/transmission-cli/COPYING" } package_transmission-gtk() { @@ -48,11 +55,11 @@ package_transmission-gtk() { 'transmission-cli: daemon and web support') install=transmission-gtk.install - cd "${srcdir}/${pkgbase}-${pkgver}" + cd "$srcdir/$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" + 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() { @@ -61,11 +68,11 @@ package_transmission-qt() { optdepends=('transmission-cli: daemon and web support') install=transmission-qt.install - cd "${srcdir}/${pkgbase}-${pkgver}" + cd "$srcdir/$pkgbase-$pkgver" - make -C qt INSTALL_ROOT="${pkgdir}"/usr install + 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" + 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" } |