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

Felix Yan fyan at archlinux.org
Tue Nov 11 16:30:11 UTC 2014


    Date: Tuesday, November 11, 2014 @ 17:30:11
  Author: fyan
Revision: 122381

upgpkg: python2-pycdio 0.20-3

libcdio 0.93 rebuild

Modified:
  python2-pycdio/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-11 16:15:03 UTC (rev 122380)
+++ PKGBUILD	2014-11-11 16:30:11 UTC (rev 122381)
@@ -1,10 +1,11 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: Alessandro Pezzoni <donbex at nerdshack dot com>
 
 pkgname=python2-pycdio
+_pypiname=pycdio
 pkgver=0.20
-pkgrel=2
+pkgrel=3
 pkgdesc="Python OO interface to libcdio (CD Input and Control library)"
 arch=("i686" "x86_64")
 url="http://pypi.python.org/pypi/pycdio/"
@@ -12,12 +13,12 @@
 depends=('python2' 'libcdio')
 makedepends=('python2-setuptools' 'swig')
 options=(!emptydirs)
-source=("http://pypi.python.org/packages/source/p/${pkgname#python2-}/${pkgname#python2-}-${pkgver}.tar.gz")
+source=("http://pypi.python.org/packages/source/p/$_pypiname/$_pypiname-${pkgver}.tar.gz")
+sha512sums=('b53a535440008dc637b31fd2cda22845c91b98e78c30f90c866af3b9bf7cb3faad39f0784b5063a39bd97bb18fc58c75ad0833d53421182d408c2889c491846b')
 
 package() {
-  cd "${pkgname#python2-}-$pkgver"
+  cd "$_pypiname-$pkgver"
   python2 setup.py install --root="$pkgdir/" --optimize=1
 }
 
 # vim:set ts=2 sw=2 et:
-sha512sums=('b53a535440008dc637b31fd2cda22845c91b98e78c30f90c866af3b9bf7cb3faad39f0784b5063a39bd97bb18fc58c75ad0833d53421182d408c2889c491846b')


More information about the arch-commits mailing list