aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-applets/APKBUILD
blob: 12c3e61998136a8eec99c00748ea55ce04c7ff10 (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
42
43
44
45
46
47
48
49
50
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer:
pkgname=mate-applets
pkgver=1.14.0
pkgrel=0
pkgdesc="Applets for use with the MATE panel"
url="https://github.com/mate-desktop/mate-applets"
arch="all"
license="GPLv2"
depends="mate-icon-theme"
depends_dev=""
makedepends="$depends_dev intltool gtk+2.0-dev mate-panel-dev libwnck-dev
	mate-desktop-dev dconf-dev itstool linux-headers libxml2-dev
	libxml2-utils"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
options="suid"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
                --build=$CBUILD \
                --host=$CHOST \
                --sysconfdir=/etc \
                --prefix=/usr \
		--disable-stickynotes || return 1

        make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="4d90544d9315936b5515c8bc63b4223a  mate-applets-1.14.0.tar.xz"
sha256sums="fceb0781d4481e805beb280e90a0ee3dabeca2238fef2de391fb0631541cec9f  mate-applets-1.14.0.tar.xz"
sha512sums="5bce8d9ff7fcb341e17c8997f2302ab7220ff3d8d3bf0331a9509ac895f1b4b01cb126b80b9e3d7df46b9174a37463eee0684257de8b9bb1bf196a8bf61aa200  mate-applets-1.14.0.tar.xz"