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

Ronald van Haren ronald at archlinux.org
Mon Jul 7 22:32:42 UTC 2008


    Date: Monday, July 7, 2008 @ 18:32:42
  Author: ronald
Revision: 4531

fix license

Modified:
  bittorrent/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-07 22:19:37 UTC (rev 4530)
+++ PKGBUILD	2008-07-07 22:32:42 UTC (rev 4531)
@@ -10,6 +10,7 @@
 install=bittorrent.install
 depends=("twisted" "pycrypto")
 source=(http://download.bittorrent.com/dl/BitTorrent-${pkgver}.tar.gz)
+license=('custom')
 md5sums=('c1ac5f78aebc444899aaf20d06dd62b5')
 
 build() {
@@ -18,4 +19,8 @@
   sed -i -e "s|ip = os.path.join('share', 'pixmaps', appdir)|ip = os.path.join('share', 'bittorrent', 'pixmaps')|" BitTorrent/platform.py || return 1
   sed -i -e "s|dp = os.path.join('share', 'doc'    , appdir)|dp = os.path.join('share', 'bittorrent', 'doc')|" BitTorrent/platform.py || return 1 
   python ./setup.py install --root=$startdir/pkg
+
+# install custom license
+install -Dm644 $srcdir/BitTorrent-$pkgver/LICENSE.txt \
+	$pkgdir/usr/share/licenses/$pkgname/LICENSE
 }





More information about the arch-commits mailing list