blob: 064755de44db09626db7821199f02cf447106cd6 (
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
|
# Maintainer: Yann Büchau <nobodyinperson@posteo.de>
pkgname=python-thunar-plugins-git
pkgver=1.4.0.r13.gd222e3b
pkgrel=1
epoch=
pkgdesc="Thunar plugins"
arch=(x86_64 aarch64)
url="https://gitlab.com/nobodyinperson/thunar-plugins"
license=('GPL')
groups=()
depends=(thunarx-python python-rich python-setuptools)
makedepends=(git python-build python-installer python-setuptools-scm python-wheel)
checkdepends=()
optdepends=(
"git-annex: Git Annex support"
)
provides=("${pkgname%-git}")
conflicts=()
replaces=(thunar-plugins-git)
backup=()
options=()
install=${pkgname%-git}.install
changelog=
source=("${pkgname%-git}::git+$url")
noextract=()
md5sums=(SKIP)
validpgpkeys=()
pkgver () {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build () {
cd "$srcdir/${pkgname%-git}"
rm -rf dist/
python -m build --wheel --no-isolation
}
package () {
cd "$srcdir/${pkgname%-git}"
export PYTHONHASHSEED=0
python -m installer --destdir="$pkgdir" dist/*.whl
}
|