[arch-commits] Commit in python2-pysqlite-legacy/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Mon Feb 4 21:02:59 UTC 2013
Date: Monday, February 4, 2013 @ 22:02:58
Author: arodseth
Revision: 83741
upgpkg: python2-pysqlite-legacy 1.0.1-2, pkgdir TODO
Modified:
python2-pysqlite-legacy/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++----------------
1 file changed, 15 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-04 20:57:36 UTC (rev 83740)
+++ PKGBUILD 2013-02-04 21:02:58 UTC (rev 83741)
@@ -1,25 +1,24 @@
# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor : Aaron Griffin <aaron.archlinux.org>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Aaron Griffin <aaron.archlinux.org>
pkgname=python2-pysqlite-legacy
pkgver=1.0.1
-pkgrel=1
-pkgdesc="A Python DB-API 2.0 interface for the legacy SQLite 2"
-arch=('i686' 'x86_64')
-url="http://initd.org/tracker/pysqlite"
+pkgrel=2
+pkgdesc='Python DB-API 2.0 interface for the legacy SQLite 2'
+arch=('x86_64' 'i686')
+url='http://initd.org/tracker/pysqlite'
replaces=('python-pysqlite-legacy')
license=('custom')
depends=('python2' 'sqlite2')
-source=(http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/pysqlite-$pkgver.tar.gz)
-md5sums=('4797b5ea7a3d96b87333e6b5af7b9979')
+source=("http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/pysqlite-$pkgver.tar.gz")
+sha256sums=('9ceed0af9e94b2f8701d4f36d7e86715d8ca64283e0b311e1816c031c3658f08')
-build()
-{
- cd ${srcdir}/pysqlite
- python2 setup.py install --root=${pkgdir} -O1
+package() {
+ cd "$srcdir/pysqlite"
+ python2 setup.py install --root="$pkgdir" -O1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
- # install custom license
- install -Dm644 ${srcdir}/pysqlite/LICENSE \
- ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list