aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cinnamon-control-center/APKBUILD
blob: 451f85adb62e9ac5c4c3d2fa9f6b7771de07a327 (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
54
55
56
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cinnamon-control-center
pkgver=2.0.9
pkgrel=0
pkgdesc="The Control Center for Cinnamon"
url="https://github.com/linuxmint/cinnamon-control-center"
arch="all"
license="GPL"
depends=""
depends_dev="gnome-menus-dev libxslt-dev cinnamon-desktop-dev libnotify-dev upower-dev
	cinnamon-settings-daemon-dev krb5-dev libxrandr-dev libxxf86misc-dev polkit-dev
	libxkbfile-dev networkmanager-dev ibus-dev network-manager-applet-dev"
makedepends="$depends_dev automake autoconf libtool intltool gnome-common"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/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 \
		--enable-ibus \
		--disable-update-mimedb \
		|| 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="4f018678e7c72ee4528dad65bc6e4e53  cinnamon-control-center-2.0.9.tar.gz"
sha256sums="63bb179a50d5f873ed1c19de97966592eedbc055ce2829e4298223a75fc33b4e  cinnamon-control-center-2.0.9.tar.gz"
sha512sums="b1e248d582035f32b645a0110b4d84f261261c3e39f33bcbeeeea6aec816557e419a19828467fc6248986e5aafbbd654e25e0efcf65cdc0ffb83d719e2678a23  cinnamon-control-center-2.0.9.tar.gz"