blob: 541b09e7c6fd4453e8b5a6b807c937f7c7c2c7ea (
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
|
# 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
rm -f "$pkgdir"/usr/lib/*.la
}
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"
|