ctucx.git: alpine-pkgs

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

commit 53390ee7e032c49519cff9e2217b53162cfda4a1
parent a21cbd04ba2eb7672592abfb44c94425b16c198b
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 20 Jan 2021 20:42:48 +0100

gallery: clenaup
1 file changed, 11 insertions(+), 10 deletions(-)
M
ctucx-gallery/APKBUILD
|
21
+++++++++++----------
diff --git a/ctucx-gallery/APKBUILD b/ctucx-gallery/APKBUILD
@@ -1,20 +1,21 @@
-# Contributor:
-# Maintainer:
+# Contributor: Leah (ctucx) <leah@ctu.cx>
+# Maintainer: Leah (ctucx) <leah@ctu.cx>
 pkgname=gallery
-pkgver=0.0.2
+pkgver=0.0.3
 pkgrel=3
-pkgdesc="gallery-generator written in nimlang, used for bahnbilder.ctu.cx"
+pkgdesc="gallery-generator written in nimlang, used for photos.ctu.cx"
 url="https://cgit.ctu.cx/gallery"
 arch="all"
 license="MIT"
 depends="imagemagick"
 makedepends="nim nimble"
 subpackages=""
-source="$pkgname-v0.2.tar.gz::https://cgit.ctu.cx/gallery/snapshot/gallery-7b81345c36eae7c46693681018a171e0faaa353b.tar.gz"
-builddir="$srcdir/$pkgname-7b81345c36eae7c46693681018a171e0faaa353b/"
+_commit="b961946a4f5a82274e94a21933bf7bb1dd59f78e"
+source="${pkgname}-${_commit}.tar.gz::https://cgit.ctu.cx/gallery/snapshot/gallery-${_commit}.tar.gz"
+builddir="${srcdir}/${pkgname}-${_commit}/"
 
 build() {
-        cd $builddir
+        cd ${builddir}
         nimble -y -d:release build
 }
 

@@ -23,7 +24,7 @@ check() {
 }
 
 package() {
-        install -Dm755 $builddir/$pkgname $pkgdir/usr/bin/ctucx-$pkgname
-	install -Dm755 $builddir/sample.config $pkgdir/etc/ctucx-$pkgname.conf
+        install -Dm755 ${builddir}/${pkgname} ${pkgdir}/usr/bin/ctucx-${pkgname}
+	install -Dm755 ${builddir}/sample.config ${pkgdir}/etc/ctucx-${pkgname}.conf
 }
-sha512sums="424594d9e31e96733168c0b7cd4a5bd88eaae99a4e6ea0b29a4a96419aece631a880b8ec62fe786c171bd6bbfda13362b53a487171b17de0beea09ce6cc2fe8a  gallery-v0.2.tar.gz"
+sha512sums="99bbc4bb440359c6cf483b9ea8db20724cb2df469e86e865e2cd6db6b06cb508829df8f437fcb3321522c1f871c5e76736cf44611d53e11618947784398fcef8  gallery-b961946a4f5a82274e94a21933bf7bb1dd59f78e.tar.gz"