aboutsummaryrefslogtreecommitdiffstats
path: root/community/xarchiver/APKBUILD
blob: e7ce3bce180081822996b766e074f180b0733017 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xarchiver
pkgver=0.5.4.8
pkgrel=0
pkgdesc="GTK+ frontend to various command line archivers"
url="https://github.com/ib/xarchiver"
arch="all"
license="GPL"
depends="desktop-file-utils hicolor-icon-theme tar"
makedepends="intltool gtk+2.0-dev"
install=
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/ib/xarchiver/archive/$pkgver.tar.gz"

builddir="$srcdir/xarchiver-$pkgver"

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}
sha512sums="d3be46b87c9475bfde2a3449511a08b1abef3d90b0b2c0e1165e093fa54210dbc2182b986a55e12e11bed67b516732f498c8038b360df3f697603befc2a4a8b3  xarchiver-0.5.4.8.tar.gz"