aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cinnamon/APKBUILD
blob: 72363b9f0663db9f50e6e16ebf2f44442a30c6da (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cinnamon
pkgver=2.0.14
pkgrel=2
pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
url="http://cinnamon.linuxmint.com/"
arch="all"
license="GPL2"
depends="gnome-themes-standard cinnamon-session nemo cinnamon-control-center
	cinnamon-session cinnamon-settings-daemon cinnamon-screensaver
	py-dbus py-pillow py-gobject py-gnome-gconf py-lxml"
depends_dev="gettext-dev glib-dev gtk+3.0-dev dbus-dev gstreamer-dev clutter-dev
	dbus-glib-dev gconf-dev muffin-dev cjs-dev gnome-menus-dev libsoup-dev
	startup-notification-dev networkmanager-dev libgnome-keyring-dev
	libcroco-dev pulseaudio-dev gobject-introspection-dev librsvg-dev upower-dev
	accountsservice-dev polkit-dev pango-dev"
makedepends="$depends_dev intltool automake autoconf libtool"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/archive/$pkgver.tar.gz"

_builddir="$srcdir/Cinnamon-$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 \
		--libexecdir=/usr/lib/cinnamon \
		--disable-schemas-compile \
		--enable-compile-warnings=yes \
		|| 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="566129434434d3a2f81dfaa4f33a5abb  cinnamon-2.0.14.tar.gz"
sha256sums="447f65ceb22a40717656d3d708d16ad450802298d783b23004b6e8d3c8d7da85  cinnamon-2.0.14.tar.gz"
sha512sums="9e719397adf2b72ca2433f5c62ea22132e2b06de45d2821123611ea9109dab439711f1c31fe4d7413a86f1d9eb13d9d215a41ffe23b67f9a79ece83802725805  cinnamon-2.0.14.tar.gz"