aboutsummaryrefslogtreecommitdiffstats
path: root/main/xarchiver/APKBUILD
blob: 4b3d03a9546b209d731a82ca5bd493566e403cf9 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xarchiver
pkgver=0.5.4
pkgrel=0
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"

prepare() {
	cd "$srcdir/xarchiver-$pkgver"
	update_config_sub || return 1
}

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="1b4cd37a6af03afc957a8e307417e8d0  xarchiver-0.5.4.tar.bz2"
sha256sums="e63fa73979fcc56efe8cca9095fd915d31a1714ce9676246b8626f164e452ef4  xarchiver-0.5.4.tar.bz2"
sha512sums="3b767c2601d94104e2fc72aa8d168afa5a154b5747a9b0518d1c348417e56e4c19d872a0029fb78decc897e0f3bc9573e17d0317b85f584e7275b0e519f5f30d  xarchiver-0.5.4.tar.bz2"