Subject: [alpine-aports] [PATCH] testing/j4-dmenu-desktop: new aport

From: Bradley Saulteaux <[email-masked]>
Date: Tue, 5 Feb 2019 08:41:51 -0700

https://github.com/enkore/j4-dmenu-desktop
A fast desktop menu
---
 testing/j4-dmenu-desktop/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/j4-dmenu-desktop/APKBUILD

diff --git a/testing/j4-dmenu-desktop/APKBUILD b/testing/j4-dmenu-desktop/APKBUILD
new file mode 100644
index 0000000000..e6373a4093
--- /dev/null
+++ b/testing/j4-dmenu-desktop/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Bradley Saulteaux <[email-masked]>
+pkgname=j4-dmenu-desktop
+pkgver=2.16
+pkgrel=0
+pkgdesc="A fast desktop menu"
+url="https://github.com/enkore/${pkgname}"
+arch="all"
+license="GPL-3.0-only"
+depends="dmenu"
+makedepends="cmake git"
+install=""
+subpackages=""
+source="${pkgname}-${pkgver}.tar.gz::${url}/archive/r${pkgver}.tar.gz"
+build() {
+	cd "$srcdir"/${pkgname}-r${pkgver}
+	cmake -DCMAKE_INSTALL_PREFIX=/usr .
+	make
+}
+
+check() {
+	cd "$srcdir"/${pkgname}-r${pkgver}
+	make test
+}
+
+package() {
+	cd "$srcdir"/${pkgname}-r${pkgver}
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d5bb0902d4bdc474fa20bc9d8f79de90a92bb4941f0d325dfcfaa1347ea3ad355b87da8194bc3f654970e9ab8848e6ecb5093f3c75fbaa8dbc40199fe6ea2837  j4-dmenu-desktop-2.16.tar.gz"
\ No newline at end of file
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Leonardo Arena <[email-masked]>
Date: Wed, 6 Feb 2019 08:14:25 +0100

Hi.

>  create mode 100644 testing/j4-dmenu-desktop/APKBUILD
pushed with minor changes:

defined "$builddir" and removed "cd ..." in every function.

Thanks!

/eo