aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-autoar/APKBUILD
blob: ccfc45f7a5190934a0544ff0800f90b3c104ad7a (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
39
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-autoar
pkgver=0.2.2
pkgrel=0
pkgdesc="GNOME archive extraction library"
url="http://www.gnome.org/"
arch="all !s390x"
license="GPL"
depends=""
depends_dev="gnome-desktop-dev libarchive-dev"
makedepends="$depends_dev vala"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gnome-autoar/${pkgver%.*}/gnome-autoar-$pkgver.tar.xz"
builddir="$srcdir/gnome-autoar-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

check() {
	cd "$builddir"
	make check
}

sha512sums="78faf8f82eeab4cb5f1f364d6e9caa4d24f21f9b81a79ebde4404253f3e7ae120f44600f236612859810afc6fc6f1a8c6f2e065db98be79103255642139c10a2  gnome-autoar-0.2.2.tar.xz"