[arch-commits] Commit in bittorrent/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Wed Jan 5 15:34:39 UTC 2011


    Date: Wednesday, January 5, 2011 @ 10:34:39
  Author: andrea
Revision: 104934

upgpkg: bittorrent 5.2.2-4
switch to arch any

Modified:
  bittorrent/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 15:28:11 UTC (rev 104933)
+++ PKGBUILD	2011-01-05 15:34:39 UTC (rev 104934)
@@ -1,21 +1,22 @@
 # $Id$
-# Mantainer: Juergen Hoetzel <juergen at archlinux.org>
+# Maintainer:
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=bittorrent
 pkgver=5.2.2
-pkgrel=3
-pkgdesc="BitTorrent is a tool for copying files from one machine to another."
-arch=('i686' 'x86_64')
+pkgrel=4
+pkgdesc="A tool for copying files from one machine to another."
+arch=('any')
 url="http://www.bittorrent.com"
-install=bittorrent.install
+install=${pkgname}.install
 depends=('twisted' 'pycrypto')
 backup=('etc/bttrack.conf')
-source=(http://download.bittorrent.com/dl/archive/BitTorrent-${pkgver}.tar.gz
-	bttrack bttrack.conf)
 license=('custom')
+source=("http://download.bittorrent.com/dl/archive/BitTorrent-${pkgver}.tar.gz"
+        'bttrack' 'bttrack.conf')
 md5sums=('d8891cfa4c6bb796c8e948eace7694bc'
-	 'b05f82b3a8e7fd8e7451064a9ae84ad2'
-	 '29b1f592615d0a0fcf6099bd619bbd9c')
+        'b05f82b3a8e7fd8e7451064a9ae84ad2'
+        '29b1f592615d0a0fcf6099bd619bbd9c')
 
 package() {
   cd $srcdir/BitTorrent-$pkgver
@@ -37,8 +38,6 @@
     $pkgdir/usr/share/licenses/$pkgname/LICENSE
 
   # install bttrack rc.d script and configuration file
-  install -D -m644 $srcdir/bttrack.conf $pkgdir/etc/bttrack.conf \
-    || return 1
-  install -D -m755 $srcdir/bttrack $pkgdir/etc/rc.d/bttrack \
-    || return 1
+  install -D -m644 $srcdir/bttrack.conf $pkgdir/etc/bttrack.conf
+  install -D -m755 $srcdir/bttrack $pkgdir/etc/rc.d/bttrack
 }




More information about the arch-commits mailing list