ctucx.git: alpine-pkgs

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

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
# Contributor: Leah (ctucx) <leah@ctu.cx>
# Maintainer: Leah (ctucx) <leah@ctu.cx>
pkgname=webmusic-nginx
pkgver=0.1
pkgrel=2
pkgdesc="nginx generated index files optimized for music"
url="https://cgit.ctu.cx/webmusic-nginx/"
arch="noarch"
options="!check"
license="GPL-3"
_commit="ac42fd4ab6820f5e840b13cbd03f3cdf0ae149ff"
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="ff307028af6f81ee5d8d592a88fd9a3f1071a1c54508b35e2c876df932b88da0a7da1c8dd8ddc7793290cce5a51d820cd97c9ab92bb9843e2fe22a0c9bae90ca  webmusic-nginx-ac42fd4ab6820f5e840b13cbd03f3cdf0ae149ff.tar.gz"