summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/mate-screensaver/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/mate-screensaver/APKBUILD b/user/mate-screensaver/APKBUILD
new file mode 100644
index 000000000..7d5c002b7
--- /dev/null
+++ b/user/mate-screensaver/APKBUILD
@@ -0,0 +1,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"