aboutsummaryrefslogtreecommitdiffstats
path: root/main/xarchiver/APKBUILD
blob: 291a00390cb51fde0b1db00d1255b653f0ec7905 (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
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xarchiver
pkgver=0.5.2
pkgrel=5
pkgdesc="GTK+ frontend to various command line archivers"
url="http://xarchiver.xfce.org/"
arch="all"
license="GPL"
depends="desktop-file-utils hicolor-icon-theme tar"
makedepends="intltool gtk+-dev"
install=
subpackages="$pkgname-doc $pkgname-lang"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
	xarchiver-0.5.2-stack-smash.patch"

prepare() {
	cd "$srcdir/xarchiver-$pkgver"
	update_config_sub || return 1
	patch -p1 -i "$srcdir"/xarchiver-0.5.2-stack-smash.patch
}

build() {
	cd "$srcdir/xarchiver-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib/xfce4 \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/xarchiver-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="2bc7f06403cc6582dd4a8029ec9d038d  xarchiver-0.5.2.tar.bz2
74cdf6a77e91ac7b02270002c582cea1  xarchiver-0.5.2-stack-smash.patch"