aboutsummaryrefslogtreecommitdiffstats
path: root/community/xarchiver/APKBUILD
blob: c6836d6307e41aa8b3db96177486c453318a8647 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xarchiver
pkgver=0.5.4.12
pkgrel=1
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 libxslt"
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
	make
}

check() {
	cd "$builddir"
	./src/xarchiver --help > /dev/null
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="18d177efed810576ee4dc4bc379817cbff390bcbfc541652d8288545bbb4a0e29b2136364e8675814a2780d06e2c5537ca4451a1c73a6becd45e1c0de7ba4554  xarchiver-0.5.4.12.tar.gz"