aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-autoar/APKBUILD
blob: 087837670090f9fb4044fd034553fa13167fcd7d (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
37
38
39
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-autoar
pkgver=0.2.2
pkgrel=1
pkgdesc="GNOME archive extraction library"
url="https://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"