aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/cinnamon-desktop/APKBUILD
blob: 2d020330ac5235fe5c18bb3d1eb1393ae9406cd5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



                                                     
        






                                                                                 
                                                                             
































                                                                                                            




                                                                                                                                                                            
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cinnamon-desktop
pkgver=2.0.4
pkgrel=1
pkgdesc="Library with common API for various Cinnamon modules"
url="https://github.com/linuxmint/cinnamon-desktop"
arch="all"
license="GPL"
depends="xkeyboard-config"
depends_dev="gobject-introspection-dev gdk-pixbuf-dev gtk+3.0-dev libxkbfile-dev"
makedepends="$depends_dev gnome-common intltool autoconf automake libtool"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
subpackages="$pkgname-dev $pkgname-lang"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-desktop/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 \
		--libexecdir=/usr/lib/$pkgname \
		|| return 1
	make || return 1
}

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

md5sums="811e72122fdb2a4044135a1b932d2a36  cinnamon-desktop-2.0.4.tar.gz"
sha256sums="039a789fc8fca52cf1ceaeec8b7ad9ccc122ea38990186cabea814118e8ddcb3  cinnamon-desktop-2.0.4.tar.gz"
sha512sums="03259dd1d0188673fce7180e78f5084894c2f25ee700601ee8b479f161647faec7f999fe15488d1b926b7c9730ea1ffbf59aba47f57eeffadf452797dee70586  cinnamon-desktop-2.0.4.tar.gz"