From 10d5022acc020ab10c109440426e851dadf1f873 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Thu, 6 Feb 2014 19:49:53 +0000 Subject: testing/cinnamon-screensaver: new aport --- testing/cinnamon-screensaver/APKBUILD | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 testing/cinnamon-screensaver/APKBUILD (limited to 'testing') diff --git a/testing/cinnamon-screensaver/APKBUILD b/testing/cinnamon-screensaver/APKBUILD new file mode 100644 index 000000000..bbc730645 --- /dev/null +++ b/testing/cinnamon-screensaver/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=cinnamon-screensaver +pkgver=2.0.3 +pkgrel=0 +pkgdesc="Screensaver designed to integrate well with the Cinnamon desktop." +url="https://github.com/linuxmint/cinnamon-screensaver" +arch="all" +license="GPL" +depends="" +depends_dev="cinnamon-desktop-dev dbus-dev libgnomekbd-dev linux-pam-dev + libxxf86vm-dev libxxf86misc-dev" +makedepends="$depends_dev autoconf automake libtool intltool gnome-common" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-screensaver/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="a809c075eaa009606618787d551b6035 cinnamon-screensaver-2.0.3.tar.gz" +sha256sums="00c866e98994afc8939d1d347de631cebaa6ec34ad59646a7ccd223bd757cc7d cinnamon-screensaver-2.0.3.tar.gz" +sha512sums="8da589fcc4baac33642a192a562c00b3fe8cd5c602acf6a280dc322cb4d0c371d5fbcc0fbb315fc5603fbe198e5a7846a5fb9abbe27ac97936ba8833ce8f923b cinnamon-screensaver-2.0.3.tar.gz" -- cgit v1.2.3