aboutsummaryrefslogtreecommitdiffstats
path: root/community/file-roller/APKBUILD
blob: b3dc62bdc5a08e7ce094011502f5699d719acbf8 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=file-roller
pkgver=3.36.1
pkgrel=0
pkgdesc="File Roller is an archive manager for the GNOME desktop "
url="https://wiki.gnome.org/Apps/FileRoller"
arch="all !s390x !mips !mips64" # blocked by nautilus-dev
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=plain \
		-Dpackagekit=false \
		-Dcpio=/usr/bin/cpio \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="6220ab6ae8b603cac38a2600397599b0019ffce2817bba3d3ae863a4dd9c0e20e3fc8c4174c0b4e80832bab2dfdc51742f3f9ae1943a59bbe7fa5a93cab2d411  file-roller-3.36.1.tar.xz"