[arch-commits] Commit in (3 files)

Balló György bgyorgy at archlinux.org
Sun Jan 31 19:39:07 UTC 2016


    Date: Sunday, January 31, 2016 @ 20:39:06
  Author: bgyorgy
Revision: 159686

Add python-minidb, a new dependency for urlwatch

Added:
  python-minidb/
  python-minidb/trunk/
  python-minidb/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Added: python-minidb/trunk/PKGBUILD
===================================================================
--- python-minidb/trunk/PKGBUILD	                        (rev 0)
+++ python-minidb/trunk/PKGBUILD	2016-01-31 19:39:06 UTC (rev 159686)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=python-minidb
+_pkgname=minidb
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="A simple SQLite3 store for Python objects"
+arch=('any')
+url="http://thp.io/2010/minidb/"
+license=('ISC')
+depends=('python')
+source=("http://thp.io/2010/minidb/$_pkgname-$pkgver.tar.gz")
+md5sums=('aaa21ae05180af23730371e2fc896439')
+
+build() {
+  cd $_pkgname-$pkgver
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python3 setup.py install --root="$pkgdir"
+
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
+  sed -n '/# Copyright/,/OF THIS SOFTWARE./p' minidb.py > "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}


Property changes on: python-minidb/trunk/PKGBUILD
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list