Subject: [PATCH] testing/xfce4-hamster-plugin: new aport

From: Hakan Erduman <[email-masked]>
Date: Tue, 28 Dec 2021 19:43:04 +0100

---
 testing/xfce4-hamster-plugin/APKBUILD | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/testing/xfce4-hamster-plugin/APKBUILD b/testing/xfce4-hamster-plugin/APKBUILD
index 47c15b9ccf..52261bedfb 100644
--- a/testing/xfce4-hamster-plugin/APKBUILD
+++ b/testing/xfce4-hamster-plugin/APKBUILD
@@ -1,10 +1,10 @@
 # Maintainer: Hakan Erduman <[email-masked]>
 pkgname=xfce4-hamster-plugin
 pkgver=1.15
-pkgrel=0
+pkgrel=1
 pkgdesc="A recreation of the gnome-shell hamster extension as a xfce4 panel plugin."
 url="https://github.com/projecthamster/xfce4-hamster-plugin"
-arch="all !mips !mips64"
+arch="all"
 license="GPL-2.0-or-later"
 options="!check" # No test suite
 makedepends="cmake libxfce4ui-dev libxfce4util-dev xfce4-panel-dev"
@@ -12,16 +12,15 @@ subpackages="$pkgname-lang"
 source="$pkgname-$pkgver.tar.gz::https://github.com/projecthamster/xfce4-hamster-plugin/archive/refs/tags/v$pkgver.tar.gz"
 
 build() {
-	cmake \
+	cmake -B build \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_INSTALL_LIBDIR=lib \
-		-DCMAKE_BUILD_TYPE=None \
-		.
-	make
+		-DCMAKE_BUILD_TYPE=None 
+	cmake --build build
 }
 
 package() {
-	make install LIBDIR=lib DESTDIR="$pkgdir"
+	DESTDIR="$pkgdir" cmake --install build
 }
 
 sha512sums="
-- 
2.30.2