aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cinnamon-screensaver/APKBUILD
blob: bbc730645a0d105c20903403324d945cfc58a921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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"