aboutsummaryrefslogtreecommitdiffstats
path: root/community/baobab/APKBUILD
blob: 1f9a93c329a11214b7a4aa4c95d9eb610d83b3d1 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=baobab
pkgver=3.34.0
pkgrel=2
pkgdesc="A graphical application to analyse disk usage in any Gnome environment"
url="https://wiki.gnome.org/action/show/Apps/DiskUsageAnalyzer"
arch="all"
license="GPL-2.0-or-later"
makedepends="meson glib-dev gtk+3.0-dev gettext-dev vala itstool"
options="!check" # no tests
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/baobab/${pkgver%.*}/baobab-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

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

sha512sums="e821ba445c65742e92580e12be9b82ff352c6a2a8a58bab7fba97b01a120a948b06e35459196f16e9eef347cc6c5aeacfd563e86d78c758099fbab2ecfc4aa0e  baobab-3.34.0.tar.xz"