summaryrefslogtreecommitdiffstats
path: root/testing/cinnamon-settings-daemon/APKBUILD
blob: bbaf922f9ccae8301b1ce225a114af467737d0c4 (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
51
52
53
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cinnamon-settings-daemon
pkgver=2.0.8
pkgrel=1
pkgdesc="The Cinnamon Settings daemon"
url="https://github.com/linuxmint/cinnamon-settings-daemon"
arch="all"
license="GPL"
depends=""
depends_dev="ibus-dev cinnamon-desktop-dev lcms2-dev libgnomekbd-dev pulseaudio-dev
	libcanberra-dev upower-dev colord-dev cups-dev libxslt-dev colord-dev nss-dev"
makedepends="$depends_dev automake autoconf libtool gnome-common docbook-xsl"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-settings-daemon/archive/${pkgver}.tar.gz"

_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"
	./autogen.sh \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la \
		"$pkgdir"/usr/lib/*/*.la
}

md5sums="df29893cb1b61520ef3fbec021311e70  cinnamon-settings-daemon-2.0.8.tar.gz"
sha256sums="6889f021acab93d146c78fe8aa540a83a12260232e1ea5f697037a7c94c877fd  cinnamon-settings-daemon-2.0.8.tar.gz"
sha512sums="5e3c1987e23b4248faa1f84d7111a0896aacfa9a771eebe3c645cb52d8a89ce6c1797026ff504ccc83d3ac942fb6fa59674d19c262ab4f846811a7ca666e72d6  cinnamon-settings-daemon-2.0.8.tar.gz"