blob: 2677912917750ef22b5d95992bdb645d70e2d18d (
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
|
# Maintainer: Anton Karmanov <a.karmanov@inventati.org>
pkgname=pixelfeeder
pkgver='0.2.0'
pkgdesc='Pixelfed import/export 3rd-party tool'
pkgrel=1
arch=(any)
url="https://gitlab.com/bergentroll/${pkgname}"
license=('Apache-2.0')
depends=(
'python>=3.10'
'python-argcomplete'
'python-httpx'
'python-pillow'
'python-yaml'
'python-xdg-base-dirs')
optdepends=('tk: for pixelfeeder-gui')
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("${pkgname}::${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
sha256sums=('893e2d01b3b4ad58f04052484d6567ff9c21204abb22451b0ea78d035e2e9ded')
_tardir="${pkgname}-v${pkgver}"
build() {
cd "${srcdir}/${_tardir}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_tardir}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "assets/pixelfeeder.desktop" -t "$pkgdir/usr/share/applications/"
}
|