aboutsummaryrefslogtreecommitdiffstats
path: root/community/thunar-archive-plugin/APKBUILD
blob: 6597808fc6893acb3f9fb73ef1ea589bbea7fd33 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar-archive-plugin
pkgver=0.5.0
pkgrel=0
pkgdesc="Create and deflate archives in Thunar"
url="https://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
arch="all"
license="GPL-2.0-only"
options="!check" # no test suite
makedepends="intltool thunar-dev exo-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/${pkgver%.*}/thunar-archive-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
	# dont want file-roller
	rm -f "$pkgdir"/usr/lib/xfce4/thunar-archive-plugin/file-roller.tap
}

sha512sums="
5a606f5102689e5e0fa051b25cae6f66248491aeab2c6402fd158151f9cbfab54ff4b61c36eab89fdf323b65065d955bdedd6760f32a5493179e92492ee1df37  thunar-archive-plugin-0.5.0.tar.bz2
"