diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-06 19:50:11 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-06 19:50:11 +0000 |
commit | 2db4bd118feb40cf8d3505ccc461ed7cf7e0014b (patch) | |
tree | 4619d81c03be36a7245e7b2d3c5a41f51e17fed5 /testing/cinnamon-session | |
parent | 10d5022acc020ab10c109440426e851dadf1f873 (diff) | |
download | aports-2db4bd118feb40cf8d3505ccc461ed7cf7e0014b.tar.bz2 aports-2db4bd118feb40cf8d3505ccc461ed7cf7e0014b.tar.xz |
testing/cinnamon-session: new aport
Diffstat (limited to 'testing/cinnamon-session')
-rw-r--r-- | testing/cinnamon-session/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/cinnamon-session/APKBUILD b/testing/cinnamon-session/APKBUILD new file mode 100644 index 0000000000..b1d67eb9e2 --- /dev/null +++ b/testing/cinnamon-session/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=cinnamon-session +pkgver=2.0.6 +pkgrel=0 +pkgdesc="The Cinnamon Session Handler" +url="https://github.com/linuxmint/cinnamon-session" +arch="all" +license="GPL" +depends="cinnamon-desktop" +depends_dev="cinnamon-settings-daemon-dev libnotify-dev dbus-dev gtk+3.0-dev + json-glib-dev librsvg-dev libgnome-keyring-dev libsm-dev upower-dev mesa-dev" +makedepends="$depends_dev automake autoconf libtool xtrans gnome-common intltool" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-session/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 +} + +md5sums="caa16ec2cd89cc5466e4131ab096a3bd cinnamon-session-2.0.6.tar.gz" +sha256sums="831a63f31bd5c0f5dcaee833d3e43e50e8c9d540cbe931e71b8e0f79ede14567 cinnamon-session-2.0.6.tar.gz" +sha512sums="2a17dc620d05b51bc2701f90dc95fb7413f4822e4641ede6eaefbc1397a9454bcbf0bdfc44866f4a629ff0a3ecb7452515488113ef4a2fe362ab29021212aa27 cinnamon-session-2.0.6.tar.gz" |