[arch-commits] Commit in python-minidb/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Dec 24 11:01:36 UTC 2016


    Date: Saturday, December 24, 2016 @ 11:01:35
  Author: foutrelis
Revision: 201371

archrelease: copy trunk to community-staging-any

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

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

Copied: python-minidb/repos/community-staging-any/PKGBUILD (from rev 201370, python-minidb/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-24 11:01:35 UTC (rev 201371)
@@ -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=2
+pkgdesc="A simple SQLite3 store for Python objects"
+arch=('any')
+url="https://thp.io/2010/minidb/"
+license=('ISC')
+depends=('python')
+source=("https://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