Date: Friday, April 9, 2010 @ 02:36:07
  Author: dgriffiths
Revision: 76936

Cleanup, adopted

Modified:
  python-pysqlite/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-04-09 06:35:55 UTC (rev 76935)
+++ PKGBUILD    2010-04-09 06:36:07 UTC (rev 76936)
@@ -1,29 +1,30 @@
 # $Id$
-# Maintainer: Aaron Griffin <aa...@archlinux.org>
 # Contributor: Aaron Griffin <aa...@archlinux.org>
+# Contributor: Aaron Griffin <aa...@archlinux.org>
+# Maintainer: Daniel J Griffiths <ghost1...@archlinux.us>
 
 pkgname=python-pysqlite
 pkgver=2.5.5
 _branch=2.5
 pkgrel=1
 pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational 
database engine"
-license=("custom")
-arch=(i686 x86_64)
+license=('custom')
+arch=('i686' 'x86_64')
 url="http://initd.org/tracker/pysqlite";
-depends=(python sqlite3)
-replaces=(pysqlite2)
-source=(http://oss.itsystementwicklung.de/download/pysqlite/$_branch/$pkgver/pysqlite-$pkgver.tar.gz
 \
+depends=('python' 'sqlite3')
+replaces=('pysqlite2')
+source=(http://oss.itsystementwicklung.de/download/pysqlite/$_branch/${pkgver}/pysqlite-${pkgver}.tar.gz
 \
         setup.cfg)
-
+md5sums=('4f9fcd12a4860160b1f332066c64ee58'
+        '86dd356c65afd14a22f2f8f64a26441e')
 build() {
-  cd $startdir/src/pysqlite-$pkgver
-  cp $startdir/src/setup.cfg .
-  python setup.py install --root=$startdir/pkg
+       cd ${srcdir}/pysqlite-${pkgver}
+       cp ${srcdir}/setup.cfg .
+       python setup.py install --root=${pkgdir}
+}
 
-  mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
-  install -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/license.txt
-
-  rm -r $startdir/pkg/usr/pysqlite2-doc
+package() {
+       cd ${srcdir}/pysqlite-${pkgver}
+       install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+       rm -r ${pkgdir}/usr/pysqlite2-doc
 }
-md5sums=('4f9fcd12a4860160b1f332066c64ee58'
-         '86dd356c65afd14a22f2f8f64a26441e')

Reply via email to