projects/aports·blob master · refs

39 lines · 1.0 KiB

1# Contributor: Saijin-Naib <[email protected]>
2# Maintainer: Natanael Copa <[email protected]>
3pkgname=thunarx-python
4pkgver=0.5.2
5pkgrel=3
6pkgdesc="Python bindings for the Thunar Extension Framework"
7url="https://wiki.xfce.org/thunarx-python"
8arch="all"
9license="GPL-3.0-or-later"
10makedepends="gtk-doc python3-dev py3-gobject3-dev thunar-dev"
11subpackages="$pkgname-doc"
12source="https://archive.xfce.org/src/bindings/thunarx-python/${pkgver%.*}/thunarx-python-$pkgver.tar.bz2"
13
14prepare() {
15 default_prepare
16 # config.sub is too old to recognize loongarch64-alpine-linux-musl
17 update_config_sub
18}
19
20build() {
21 ./configure \
22 --build=$CBUILD \
23 --host=$CHOST \
24 --prefix=/usr
25 make
26}
27
28# Run in-built tests as per the INSTALL instructions
29check() {
30 make check
31 make installcheck
32}
33
34package() {
35 make install DESTDIR="$pkgdir"
36}
37sha512sums="
3849d009c84d69f0a1938ed6cb46fe04326c7323edecd79f6d9978ce2306fb95f20c901174f1cea31d5e436c85537efcb79c8613be857a3e4143f7b55b895616b6 thunarx-python-0.5.2.tar.bz2
39"