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

Maxime Gauduin alucryd at archlinux.org
Mon Nov 10 10:13:20 UTC 2014


    Date: Monday, November 10, 2014 @ 11:13:19
  Author: alucryd
Revision: 122289

upgpkg: python2-pyacoustid 1.1.0-1

Modified:
  python2-pyacoustid/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-10 09:20:17 UTC (rev 122288)
+++ PKGBUILD	2014-11-10 10:13:19 UTC (rev 122289)
@@ -1,36 +1,35 @@
 # $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 # Contributor: Fernando Jiménez Solano <fjim at sdfeu.org>
 # Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
 
 pkgname=python2-pyacoustid
-pkgver=1.0.0
-pkgrel=3
-pkgdesc="Bindings for Chromaprint acoustic fingerprinting and the Acoustid API"
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Bindings for Chromaprint acoustic fingerprinting and the Acoustid API'
 arch=('any')
 url='https://github.com/sampsyo/pyacoustid'
 license=('MIT')
 depends=('chromaprint')
 makedepends=('python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz"
+source=("pyacoustid-${pkgver}.tar.gz::https://github.com/sampsyo/pyacoustid/archive/v${pkgver}.tar.gz"
         'https://raw.github.com/sampsyo/beets/master/LICENSE')
-sha256sums=('31900428e7b344dca0c2da594b387e88620c319298e3a6400a968078194407d4'
-            'ea007e11dca00f67ef7f290d4eaa608b4f2d5b2668a47787d69b6cff348f2fcd')
+sha256sums=('55137af9293b62b588986bd45a88f4cc571f4b0aaac665811edd7ba0659cf136'
+            '818fc3b5adc33cf7d463cf8731eca11f0374cece3a89c83e8379c5517c096e4e')
 
 build() {
-  cd ${pkgname#*-}-${pkgver}
+  cd pyacoustid-${pkgver}
 
   python2 setup.py build
 }
 
 package() {
-  cd ${pkgname#*-}-${pkgver}
+  cd pyacoustid-${pkgver}
 
-  python2 setup.py install --root="${pkgdir}" --optimize=1
+  python2 setup.py install --root="${pkgdir}" --optimize='1'
 
-# License
-  install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
-  install -m 644 {../,"${pkgdir}"/usr/share/licenses/${pkgname}/}LICENSE
+  install -dm 755 "${pkgdir}"/usr/share/licenses/python2-pyacoustid
+  install -m 644 ../LICENSE "${pkgdir}"/usr/share/licenses/python2-pyacoustid/
 }
 
 # vim: ts=2 sw=2 et:


More information about the arch-commits mailing list