[arch-commits] Commit in cddb-py/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Fri Jul 4 03:38:01 UTC 2014
Date: Friday, July 4, 2014 @ 05:38:00
Author: eric
Revision: 114778
upgpkg: cddb-py 1.4-7
Rebuild to add mtree file
Modified:
cddb-py/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-04 02:40:53 UTC (rev 114777)
+++ PKGBUILD 2014-07-04 03:38:00 UTC (rev 114778)
@@ -1,26 +1,19 @@
# $Id$
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Hugo Ideler <hugoideler at dse.nl>
-# Contributor: David Keogh <davekeogh at shaw.ca>
-# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=cddb-py
pkgver=1.4
-pkgrel=6
+pkgrel=7
pkgdesc="CDDB-Server access from Python"
arch=('i686' 'x86_64')
url="http://cddb-py.sourceforge.net"
license=('GPL')
depends=('python2')
-source=("http://downloads.sourceforge.net/sourceforge/cddb-py/CDDB-${pkgver}.tar.gz")
-md5sums=('254698082bafe3030d07d88fb7e13fe2')
+source=(http://downloads.sourceforge.net/sourceforge/cddb-py/CDDB-${pkgver}.tar.gz)
+sha1sums=('4b101ff3a0a5895385dffac8ab807400f682a195')
package() {
- cd ${srcdir}/CDDB-${pkgver}
-
- for file in CDDB.py DiscID.py; do
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
- done
-
- python2 setup.py install --root=${pkgdir} --optimize=1
+ cd CDDB-${pkgver}
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' CDDB.py DiscID.py
+ python2 setup.py install --root="${pkgdir}" --optimize=1
}
More information about the arch-commits
mailing list