[arch-commits] Commit in (glava glava/repos glava/trunk glava/trunk/PKGBUILD)

Robin Broda coderobe at archlinux.org
Sat Oct 6 17:51:47 UTC 2018


    Date: Saturday, October 6, 2018 @ 17:51:46
  Author: coderobe
Revision: 390895

add glava

Added:
  glava/
  glava/repos/
  glava/trunk/
  glava/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: glava/trunk/PKGBUILD
===================================================================
--- glava/trunk/PKGBUILD	                        (rev 0)
+++ glava/trunk/PKGBUILD	2018-10-06 17:51:46 UTC (rev 390895)
@@ -0,0 +1,35 @@
+# Maintainer: Robin Broda <robin at broda dot me>
+
+pkgname=glava
+pkgver=1.5.1
+pkgrel=1
+pkgdesc='OpenGL audio spectrum visualizer'
+arch=('x86_64')
+url='https://github.com/wacossusca34/glava'
+license=('GPL3')
+depends=('x-server' 'pulseaudio' 'libxext' 'libxcomposite' 'libxrender')
+makedepends=('git' 'python')
+source=("git+https://github.com/wacossusca34/glava#tag=v${pkgver}"
+        'git+https://github.com/Dav1dde/glad')
+md5sums=('SKIP'
+         'SKIP')
+
+prepare() {
+	cd "${pkgname}"
+
+	git submodule init
+	git config submodule.glad.url "${srcdir}/glad"
+	git submodule update
+}
+
+build() {
+	cd "${pkgname}"
+
+	make
+}
+
+package() {
+	cd "${pkgname}"
+
+	make DESTDIR="${pkgdir}/" install
+}



More information about the arch-commits mailing list