[arch-commits] Commit in python-feedparser/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Jun 25 10:29:54 UTC 2008
Date: Wednesday, June 25, 2008 @ 06:29:54
Author: allan
Revision: 3565
upgpkg: python-feedparser 4.1-2
fix file locations for python2.5
add licence
added arch field
Modified:
python-feedparser/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-06-25 10:23:51 UTC (rev 3564)
+++ PKGBUILD 2008-06-25 10:29:54 UTC (rev 3565)
@@ -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