ctucx.git: alpine-pkgs

My personal alpine-packages [deprecated in favor of nixos]

commit c123c84363cdc9cc15a7563ae369d6d3fe246a2b
parent 45370b0e17bdd431f8d005f0f87dd63db0217db5
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 6 Mar 2021 01:10:21 +0100

add webmusic-nginx
1 file changed, 26 insertions(+), 0 deletions(-)
A
webmusic-nginx/APKBUILD
|
26
++++++++++++++++++++++++++
diff --git a/webmusic-nginx/APKBUILD b/webmusic-nginx/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Leah (ctucx) <leah@ctu.cx>
+# Maintainer: Leah (ctucx) <leah@ctu.cx>
+pkgname=webmusic-nginx
+pkgver=0.1
+pkgrel=0
+pkgdesc="nginx generated index files optimized for music"
+url="https://cgit.ctu.cx/webmusic-nginx/"
+arch="noarch"
+options="!check"
+license="GPL-3"
+_commit="c96ceb864636c6c7dc388dfcc0f3f3e66f27ce44"
+source="${pkgname}-${_commit}.tar.gz::https://cgit.ctu.cx/${pkgname}/snapshot/${pkgname}-${_commit}.tar.gz"
+builddir="${srcdir}/${pkgname}-${_commit}/"
+
+build() {
+	return 0
+}
+
+
+package() {
+  mkdir -p ${pkgdir}/usr/share/webapps/
+  cp -r "$srcdir/${pkgname}-${_commit}" "${pkgdir}/usr/share/webapps/webmusic-nginx/"
+  chmod 755 -R "${pkgdir}/usr/share/webapps/webmusic-nginx/"
+}
+
+sha512sums="07dd1a31a3a1f48a33f5599097fb80d5c6c477bc891454af4eed91d95679347e21986b3601a7b66aef9a8efc4226fa5542ae18bb9e36a88ef12fd1507aa8a60d  webmusic-nginx-c96ceb864636c6c7dc388dfcc0f3f3e66f27ce44.tar.gz"