summaryrefslogtreecommitdiff
path: root/user/mate-applets/APKBUILD
blob: c8d60eaf0b82f7eb9aca6d94ebf72da89b3411d0 (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
38
39
40
41
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=mate-applets
pkgver=1.22.0
pkgrel=0
pkgdesc="Utility applications for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="LGPL-2.0+ AND GPL-2.0+ AND GPL-2.0-only"
depends=""
makedepends="dbus-dev dbus-glib-dev gtk+3.0-dev gtksourceview-3.0-dev
	gucharmap-dev intltool itstool libmateweather-dev libnotify-dev
	libwnck-dev libxml2-dev libxml2-utils mate-panel-dev polkit-dev
	upower-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/1.22/mate-applets-$pkgver.tar.xz"

build() {
	cd "$builddir"
	rm -r mateweather/docs/ru
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

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

sha512sums="2f3e17414171ec5ab6967b76b1291d99783c3091b51127788f99148f46d5f2068edf7d890c3ebca1a59c29cbda4a06be11c852e5e88d4dc58e9981d906c9e34c  mate-applets-1.22.0.tar.xz"