diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-06 19:49:53 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-02-06 19:49:53 +0000 |
commit | 10d5022acc020ab10c109440426e851dadf1f873 (patch) | |
tree | e1c9cdfe27a6d537ae8bd00ae7c1aa369e12a70a /testing/cinnamon-screensaver | |
parent | 992084d643d3815e0dad6854de7a2ede087dad3c (diff) | |
download | aports-10d5022acc020ab10c109440426e851dadf1f873.tar.bz2 aports-10d5022acc020ab10c109440426e851dadf1f873.tar.xz |
testing/cinnamon-screensaver: new aport
Diffstat (limited to 'testing/cinnamon-screensaver')
-rw-r--r-- | testing/cinnamon-screensaver/APKBUILD | 52 |
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" |