blob: 524bded395fb84daeebbb9c5f5699dc67d0cfdc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com>
# Contributor: John Beard <john.j.beard@gmail.com>
# shellcheck disable=SC2034
_pkgname=daty
pkgname="${_pkgname}-git"
pkgver=1.0beta+81+g1a5dce4
pkgrel=2
pkgdesc='Daty Wikidata Editor'
url="https://gitlab.gnome.org/World/${_pkgname}"
license=('AGPLv3')
arch=('x86_64')
depends=(
'libhandy0'
'python-appdirs'
'python-bleach'
'python-beautifulsoup4'
'python-gobject'
'python-requests'
'python-setproctitle'
'python-pywikibot'
)
makedepends=(
'git'
'python-setuptools'
)
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+${url}.git")
sha512sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --tags | sed 's/-/+/g'
}
# shellcheck disable=SC2154
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
)
|