summaryrefslogtreecommitdiff
path: root/user/mate-screensaver/APKBUILD
blob: 7d5c002b78f5fdf961e3cfea9c0f2792296d48fb (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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=mate-screensaver
pkgver=1.22.0
pkgrel=0
pkgdesc="Screensaver for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="LGPL-2.0+ AND GPL-2.0+ AND MIT"
depends=""
makedepends="dbus-glib-dev gtk+3.0-dev intltool libxscrnsaver-dev
	mate-desktop-dev mate-menus-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-screensaver-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

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

sha512sums="e253495ad700264ee7833d7b5a732cabff53058384801ff5e874d45f812cea1e4bd3877a1688ecec6197c37f32761f69a4924a47a6556332f1fec736e540e333  mate-screensaver-1.22.0.tar.xz"