[arch-commits] Commit in python-feedparser/repos (extra-i686 extra-i686/PKGBUILD)

Allan McRae allan at archlinux.org
Wed Jun 25 10:32:44 UTC 2008


    Date: Wednesday, June 25, 2008 @ 06:32:44
  Author: allan
Revision: 3566

fix file locations for python2.5
add licence
added arch field

Modified:
  python-feedparser/repos/extra-i686/	(properties)
  python-feedparser/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)


Property changes on: python-feedparser/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /python-feedparser/trunk:1
   + /python-feedparser/trunk:1-3565

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-06-25 10:29:54 UTC (rev 3565)
+++ extra-i686/PKGBUILD	2008-06-25 10:32:44 UTC (rev 3566)
@@ -1,20 +1,22 @@
 # $Id$
-# Maintainer: Simo Leone <neotuli at gmail.com>
+# Maintainer: Allan McRae <allan at archlinux.org>
 # Contributor: Simo Leone <neotuli at gmail.com>
+
 pkgname=python-feedparser
 _pkgnameorig=feedparser
 pkgver=4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Parse RSS and Atom feeds in Python"
+arch=('i686' 'x86_64')
 url="http://feedparser.sf.net"
-license=""
+license=('custom')
 depends=('python' 'libxml2' )
-replaces=('feedparser')
-source=("http://dl.sourceforge.net/feedparser/$_pkgnameorig-$pkgver.zip")
+source=(http://downloads.sourceforge.net/feedparser/${_pkgnameorig}-${pkgver}.zip)
 md5sums=('7ab1140c1e29d4cd52ab20fa7b1f8640')
 
 build() {
-  cd $startdir/src/$_pkgnameorig
+  cd ${srcdir}/${_pkgnameorig}
   python setup.py build
-  python setup.py install --root=$startdir/pkg
+  python setup.py install --root=${pkgdir}
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license
 }





More information about the arch-commits mailing list