aboutsummaryrefslogtreecommitdiffstats
path: root/community/thunar-archive-plugin/APKBUILD
blob: eb37ee1f7efbdd0b6388e49c111bbe8fa55e8cc7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar-archive-plugin
pkgver=0.4.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
depends="thunar"
makedepends="gtk+-dev 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"
builddir="$srcdir/$pkgname-$pkgver"

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

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

sha512sums="6590d8765ac6eab14fae7758e4c47c66b52e79e2e4b01a86d25bd35492590925ca35e4bbade8a9d8f0c73386eaeda6863e2a7a39a2df2904404f7e2bfdd91a44  thunar-archive-plugin-0.4.0.tar.bz2"