aboutsummaryrefslogtreecommitdiffstats
path: root/community/mate-screensaver/APKBUILD
blob: 844fcef9c48f1828349f1e189cb5c4cea2b587bc (plain) (blame)
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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-screensaver
pkgver=1.21.0
pkgrel=0
pkgdesc="A screen saver and locker for MATE"
url="https://github.com/mate-desktop/mate-screensaver"
arch="all"
license="GPL-2.0"
makedepends="intltool glib-dev libxscrnsaver-dev gtk+3.0-dev
	mate-desktop-dev dbus-glib-dev mate-menus-dev dconf-dev
	libnotify-dev libmatekbd-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver/"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--enable-locking=yes \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
}

sha512sums="c02b482b0a9ce0e0e690181093600187b16d49a57d9518956f71f3aad15da8b5cd4c3a05ad6a35cef2eec7e8b717b0f7436ebf08e4c7eaff343770c78d1f1073  mate-screensaver-1.21.0.tar.xz"