blob: 41778f2eaf3edb61c7558deeb85b73dd94499d76 (
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
|
# Maintainer: Pellegrino Prevete <pellegrinoprevete@gmail.com>
_pkgname=daty
_commit=81b97361
pkgname=$_pkgname-git
pkgver=1.0beta+78+g81b9736
pkgrel=2
pkgdesc='Daty Wikidata Editor'
url='https://gitlab.gnome.org/World/daty'
license=('AGPLv3')
arch=('any')
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+https://gitlab.gnome.org/World/Daty.git')
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
)
|