summaryrefslogtreecommitdiffstats
path: root/testing/cinnamon-screensaver/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cinnamon-screensaver/APKBUILD')
-rw-r--r--testing/cinnamon-screensaver/APKBUILD52
1 files changed, 52 insertions, 0 deletions
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 <clandmeter@gmail.com>
+# 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"