aboutsummaryrefslogtreecommitdiffstats
path: root/community/xarchiver/APKBUILD
blob: 16064e35fb856242cae62983298a8aee8d0943bc (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xarchiver
pkgver=0.5.4.13
pkgrel=0
pkgdesc="GTK+ frontend to various command line archivers"
url="https://github.com/ib/xarchiver"
arch="all"
license="GPL-2.0-or-later"
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/$pkgname-$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="ace6b3bade20f517c63a035022944d092868e4c000976ef388a3ee70ef8a28177ee20cfb089d0984e9274722c4ec13d129fd7a4ef542e7b5cd4423c26ad5b849  xarchiver-0.5.4.13.tar.gz"