summaryrefslogtreecommitdiff
path: root/user/mate-screensaver/APKBUILD
blob: 0dcfcba19904a6e0658522c919a17c16055f9d6a (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.1
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="7ffb94d88095ff5580862fe9c958a2e4af7a424d40dc5e0f3c1da49a258035179573721fc7052710624916678e953a6347a898b53ff872a49e022987b8c02904  mate-screensaver-1.22.1.tar.xz"