aboutsummaryrefslogtreecommitdiffstats
path: root/main/thunar-archive-plugin/APKBUILD
blob: fbc87aca4177abf7b664832493cdd73465aa2171 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar-archive-plugin
pkgver=0.3.0
pkgrel=1
pkgdesc="create and deflate archives in thunar"
url="http://foo-projects.org/~benny/projects/thunar-archive-plugin/"
arch="all"
license="GPL2"
depends=
makedepends="gtk+-dev intltool thunar-dev exo-dev"
install=
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/${pkgver%.*}/thunar-archive-plugin-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	# dont want file-roller
	rm -f "$pkgdir"/usr/lib/xfce4/thunar-archive-plugin/file-roller.tap \
		"$pkgdir"/usr/lib/thunarx-2/*.la
}

md5sums="afeb3f1c65a4529dbdadc6e7b349a712  thunar-archive-plugin-0.3.0.tar.bz2"