aboutsummaryrefslogtreecommitdiffstats
path: root/testing/file-roller/APKBUILD
blob: d3b21d9af39ec99ac6b410fa26fe0d7533de06bd (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=file-roller
pkgver=3.32.2
pkgrel=0
pkgdesc="File Roller is an archive manager for the GNOME desktop "
url="https://wiki.gnome.org/Apps/FileRoller"
arch="all"
license="GPL-2.0-or-later"
depends="cpio"
makedepends="meson glib-dev gtk+3.0-dev json-glib-dev libnotify-dev libarchive-dev
	itstool nautilus-dev"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/file-roller/${pkgver%.*}/file-roller-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dpackagekit=false \
		-Dcpio=/usr/bin/cpio \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="d1c1e08f12ce343c23c43816305f75c0f3a3f3df32316805864d7c39b5e85b5a00e04a355a0dd8001db8e01ae089daf3b72c3f38fda582795944a6be09451b2a  file-roller-3.32.2.tar.xz"