ctucx.git: aur-packages

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

commit 6e7698907fd5e3044ca0f1d623e994e1b4b97192
parent 5410343a426f25425a4833d300f6a0478b6fd8f5
Author: ctucx <c@ctu.cx>
Date: Fri, 5 Mar 2021 22:22:27 +0100

init
2 files changed, 26 insertions(+), 0 deletions(-)
A
webmusic-nginx/.SRCINFO
|
11
+++++++++++
A
webmusic-nginx/PKGBUILD
|
15
+++++++++++++++
diff --git a/webmusic-nginx/.SRCINFO b/webmusic-nginx/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = webmusic-nginx
+	pkgver = 0.1
+	pkgrel = 0
+	url = https://cgit.ctu.cx/webmusic-nginx/
+	arch = x86_64
+	license = GPL-3
+	source = webmusic-nginx-f769d3e24676b1cec9f950b985a55f3dff36aa2e.tar.gz::https://cgit.ctu.cx/webmusic-nginx/snapshot/webmusic-nginx-f769d3e24676b1cec9f950b985a55f3dff36aa2e.tar.gz
+	sha256sums = 416711165c4ef7cba1eaba3556d4301abb82fed7b6bfa0cbf2b5db67201eecc4
+
+pkgname = webmusic-nginx
+
diff --git a/webmusic-nginx/PKGBUILD b/webmusic-nginx/PKGBUILD
@@ -0,0 +1,15 @@
+pkgname=webmusic-nginx
+pkgver=0.1
+pkgrel=0
+arch=('x86_64')
+url="https://cgit.ctu.cx/webmusic-nginx/"
+license=( 'GPL-3' )
+_commit="f769d3e24676b1cec9f950b985a55f3dff36aa2e"
+source=("${pkgname}-${_commit}.tar.gz::https://cgit.ctu.cx/${pkgname}/snapshot/${pkgname}-${_commit}.tar.gz")
+sha256sums=('416711165c4ef7cba1eaba3556d4301abb82fed7b6bfa0cbf2b5db67201eecc4')
+
+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/"
+}