aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-autoar/APKBUILD
blob: 81e791448e93e4c2b9f6031e9d0f047e68ff1966 (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
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-autoar
pkgver=0.2.4
pkgrel=0
pkgdesc="GNOME archive extraction library"
url="https://www.gnome.org/"
arch="all"
license="LGP-2.1-only"
makedepends="gtk+3.0-dev libarchive-dev vala"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gnome-autoar/${pkgver%.*}/gnome-autoar-$pkgver.tar.xz"

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

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

check() {
	make check
}

sha512sums="66750ae30bf9f59820f06653898eb33ac4edbb63976a02d15417118a068abd9292350220713813ddfdd1f2e77db7b3a8f8980f0c70a93d1bb87a9405e013de19  gnome-autoar-0.2.4.tar.xz"