[arch-commits] Commit in python-minidb (3 files)

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


    Date: Sunday, January 31, 2016 @ 20:40:10
  Author: bgyorgy
Revision: 159687

archrelease: copy trunk to community-any

Added:
  python-minidb/repos/
  python-minidb/repos/community-any/
  python-minidb/repos/community-any/PKGBUILD
    (from rev 159686, python-minidb/trunk/PKGBUILD)

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

Copied: python-minidb/repos/community-any/PKGBUILD (from rev 159686, python-minidb/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2016-01-31 19:40:10 UTC (rev 159687)
@@ -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"
+}



More information about the arch-commits mailing list