diff options
author | Pellegrino Prevete | 2020-07-03 03:50:31 +0200 |
---|---|---|
committer | Pellegrino Prevete | 2020-07-03 03:50:31 +0200 |
commit | 2488c8236285f9ec1cf211881c936a34d3033bd3 (patch) | |
tree | 5c86f5ca06a41824319d2f7759411c100b341cc4 | |
parent | a18ce375a2f4ace08f8fe0b306fe695fc79cd271 (diff) | |
download | aur-2488c8236285f9ec1cf211881c936a34d3033bd3.tar.gz |
update PKGBUILD
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 17 insertions, 5 deletions
@@ -1,10 +1,11 @@ pkgbase = daty-git pkgdesc = Daty Wikidata Editor - pkgver = 0.1 + pkgver = 1.0beta+78+g81b9736 pkgrel = 1 url = https://gitlab.gnome.org/World/daty arch = any license = AGPLv3 + makedepends = git makedepends = python-setuptools depends = libhandy depends = python-appdirs @@ -17,7 +18,7 @@ pkgbase = daty-git provides = daty conflicts = daty source = daty::git+https://gitlab.gnome.org/World/Daty.git - sha256sums = SKIP + sha512sums = SKIP pkgname = daty-git @@ -1,21 +1,32 @@ # Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com> _pkgname=daty +_commit=81b97361 pkgname=$_pkgname-git -pkgver=0.1 +pkgver=1.0beta+78+g81b9736 pkgrel=1 pkgdesc='Daty Wikidata Editor' url='https://gitlab.gnome.org/World/daty' license=('AGPLv3') arch=('any') depends=('libhandy' 'python-appdirs' 'python-bleach' 'python-beautifulsoup4' 'python-gobject' 'python-requests' 'python-setproctitle' 'python-pywikibot') -makedepends=('python-setuptools') +makedepends=('git' 'python-setuptools') provides=($_pkgname) conflicts=($_pkgname) source=('daty::git+https://gitlab.gnome.org/World/Daty.git') -sha256sums=('SKIP') +sha512sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --tags | sed 's/-/+/g' +} package() { cd "${_pkgname}" python3 setup.py install --root="${pkgdir}" --optimize=1 } + +check() ( + glib-compile-schemas "${GSETTINGS_SCHEMA_DIR:=$PWD/$_pkgname/data}" + export GSETTINGS_SCHEMA_DIR +) |