aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-panel/APKBUILD
blob: 7ba75586ef574f48f3365c645b36dc7b331541b3 (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
38
39
40
41
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-panel
pkgver=1.21.3
pkgrel=0
pkgdesc="The MATE panel is the area on your desktop from which you can run applications"
url="https://github.com/mate-desktop/mate-panel"
arch="all"
license="GPL-2.0-or-later LGPL-2.0-or-later"
depends="mate-common mate-desktop"
makedepends="librsvg-dev libmateweather-dev libtool intltool itstool
	mate-menus-dev dconf-dev libice-dev libsm-dev libcanberra-dev dbus-glib-dev
	libwnck3-dev libsoup-dev mate-desktop-dev libxml2-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	$pkgname-$pkgver-itstool.patch::https://github.com/mate-desktop/mate-panel/commit/22ab0e044c16c539cb72066c0ae1e6a306509ebe.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="0eb305b8406192430ece88eaa1daaf3cf49b6d35258f09be003812f8502ca3c2c7a192e148242143b32dd7546ec83fc03edcd84b0f142db8091b1fb2c8e8351d  mate-panel-1.21.3.tar.xz
47d976e4b6a682f526b0d4f56e2d6ef970f31fcda2c45f317b84edb1be425a159a1bcc740e2ed2c2cee848cb2ce0a4a150d626f41edb7b6280b8a38593aff81b  mate-panel-1.21.3-itstool.patch"