diff options
Diffstat (limited to 'unmaintained/cinnamon-session/APKBUILD')
-rw-r--r-- | unmaintained/cinnamon-session/APKBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/unmaintained/cinnamon-session/APKBUILD b/unmaintained/cinnamon-session/APKBUILD new file mode 100644 index 0000000000..b7ff3c5693 --- /dev/null +++ b/unmaintained/cinnamon-session/APKBUILD @@ -0,0 +1,60 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=cinnamon-session +pkgver=2.0.6 +pkgrel=2 +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 + remove_sessionmigration.patch + timeout.patch" + +_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 +e93d23d7a474dd741f3bb3035104d0a3 remove_sessionmigration.patch +920db4d6afa20761339cd617cd6592f3 timeout.patch" +sha256sums="831a63f31bd5c0f5dcaee833d3e43e50e8c9d540cbe931e71b8e0f79ede14567 cinnamon-session-2.0.6.tar.gz +f3c0bc1a3debfaa686230f19ba371b08dd4645064d90ead0c34f465c7d416736 remove_sessionmigration.patch +ef421a14814c7858490b3a806568ab4ec8a0dc21d390e94f801771c1261bb24a timeout.patch" +sha512sums="2a17dc620d05b51bc2701f90dc95fb7413f4822e4641ede6eaefbc1397a9454bcbf0bdfc44866f4a629ff0a3ecb7452515488113ef4a2fe362ab29021212aa27 cinnamon-session-2.0.6.tar.gz +a51ded6f09ac9efac2b201289635c63ae7ea0d1435ba50c60a33b9518752bb8e09ee76bf9c65a8b631cabd285e68cb8a5c7a8c56b5d98970611c0a6110872423 remove_sessionmigration.patch +dc74cb6e98755e7ddad5e53a4be291ecd034d0537347ca1b436c6027beeefa711951a759057dc97200459a34cb0951340c7d7023e61422ea7cc7c42c33455ea7 timeout.patch" |