[arch-commits] Commit in python-minidb/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 15:14:26 UTC 2019
Date: Friday, October 25, 2019 @ 15:14:25
Author: foutrelis
Revision: 518937
archrelease: copy trunk to community-staging-any
Added:
python-minidb/repos/community-staging-any/
python-minidb/repos/community-staging-any/PKGBUILD
(from rev 518936, python-minidb/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-minidb/repos/community-staging-any/PKGBUILD (from rev 518936, python-minidb/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:14:25 UTC (rev 518937)
@@ -0,0 +1,26 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=python-minidb
+_pkgname=minidb
+pkgver=2.0.2
+pkgrel=3
+pkgdesc="A simple SQLite3 store for Python objects"
+arch=('any')
+url="https://thp.io/2010/minidb/"
+license=('ISC')
+depends=('python')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/thp/$_pkgname/archive/$pkgver.tar.gz")
+md5sums=('1aa7b7afa9c51507a595895d162ad12f')
+
+build() {
+ cd $_pkgname-$pkgver
+ python3 setup.py build
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python3 setup.py install --root="$pkgdir" --optimize=1
+
+ 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