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

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


    Date: Wednesday, June 25, 2008 @ 06:57:31
  Author: allan
Revision: 3571

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

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

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)


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

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2008-06-25 10:45:22 UTC (rev 3570)
+++ extra-x86_64/PKGBUILD	2008-06-25 10:57:31 UTC (rev 3571)
@@ -1,21 +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)
+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