aboutsummaryrefslogtreecommitdiffstats
path: root/main/thunar-archive-plugin/APKBUILD
blob: 7ad5fc5b3cff01763019c7f75dd722b5a010b3b9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar-archive-plugin
pkgver=0.3.0
pkgrel=0
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=
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
}
md5sums="afeb3f1c65a4529dbdadc6e7b349a712  thunar-archive-plugin-0.3.0.tar.bz2"