ctucx.git: alpine-pkgs

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

commit f8f73955607a67701fe5180303915858f35fd37a
parent 97d33f10279a726d99c6133ec4c2e52e1879a472
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 20 Jan 2021 20:42:16 +0100

alps: cleanup
6 files changed, 33 insertions(+), 25 deletions(-)
M
alps/APKBUILD
|
27
++++++++++++++-------------
M
frp/APKBUILD
|
12
+++++++++---
M
nim/APKBUILD
|
7
++++---
M
nimble/APKBUILD
|
4
++--
M
oeffi-web/APKBUILD
|
4
++--
M
oeffisearch/APKBUILD
|
4
++--
diff --git a/alps/APKBUILD b/alps/APKBUILD
@@ -1,5 +1,5 @@
-# Contributor:
-# Maintainer:
+# Contributor: Leah (ctucx) <leah@ctu.cx>
+# Maintainer: Leah (ctucx) <leah@ctu.cx>
 pkgname=alps
 pkgver=0.0.1
 pkgrel=1

@@ -9,15 +9,16 @@ arch="all"
 license="MIT"
 depends=""
 makedepends="go"
-install="$pkgname.pre-install $pkgname.post-deinstall"
-subpackages=""
-source="$pkgname.tar.gz::https://git.sr.ht/~migadu/alps/archive/master.tar.gz
-        $pkgname.initd
-        $pkgname.confd"
-builddir="$srcdir/$pkgname-master/"
+install="${pkgname}.pre-install ${pkgname}.post-deinstall"
+subpackages="${pkgname}-openrc"
+_commit="5cef0aaff2b8b6ee3e00b566123517e241d8cfb8"
+source="${pkgname}-${_commit}.tar.gz::https://git.sr.ht/~migadu/alps/archive/${_commit}.tar.gz
+        ${pkgname}.initd
+        ${pkgname}.confd"
+builddir="$srcdir/${pkgname}-${_commit}/"
 
 build() {
-	cd $builddir
+	cd ${builddir}
 	go build -o alps ./cmd/alps
 }
 

@@ -26,13 +27,13 @@ check() {
 }
 
 package() {
-        install -Dm755 "$builddir"/$pkgname "$pkgdir"/usr/bin/$pkgname
-	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
-	install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+        install -Dm755 ${builddir}/${pkgname} ${pkgdir}/usr/bin/${pkgname}
+	install -Dm755 ${srcdir}/${pkgname}.initd ${pkgdir}/etc/init.d/${pkgname}
+	install -Dm644 ${srcdir}/${pkgname}.confd ${pkgdir}/etc/conf.d/${pkgname}
 	cd ${builddir}/themes;
 	find . -type f -exec install -Dm 755 "{}" "${pkgdir}/usr/share/alps/themes/{}" \;
 }
 
-sha512sums="349f8ca215f15a7453c8ea26bea04f3c7124077540c47b44c379c7fc53ba8222c8a3e3dc627a054a2fd7ce0fbe636af5e61133fc88d2ecd7cb6ae2202030d801  alps.tar.gz
+sha512sums="865c1155f1093a3999d6935eec007119ae2258bfff33f05a1c025f3984aaa52249f977124cb1a016af24808f87ab0b2cd7e19e7a5018911ea121c5aa32c77fb6  alps-5cef0aaff2b8b6ee3e00b566123517e241d8cfb8.tar.gz
 eaa40ace4ca554d015939da4a2fce8c12260d5a4d6741494766bbfc59ba3ccbd2acccfe1097ff4ac07f116758ba3ddd9899960572196513ea4641706cd45608c  alps.initd
 81d514b4f3773d4a28808cd72f32a8a080be388086919e718bff9128b40c2e491973e9d6cc2d94f2b45a64966cbdcc92a3945556b31904937c443f73a2e1a347  alps.confd"
diff --git a/frp/APKBUILD b/frp/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer:
 pkgname=frp
 pkgver=0.34.2
-pkgrel=0
+pkgrel=5
 pkgdesc="Daemon which renders SVG plots from Prometheus data"
 url="https://github.com/fatedier/frp"
 arch="all"

@@ -13,7 +13,9 @@ install="$pkgname.pre-install"
 subpackages=""
 source="$pkgname.tar.gz::https://github.com/fatedier/frp/archive/v${pkgver}.tar.gz
         frps.initd
-        frps.confd"
+        frps.confd
+	frpc.initd
+	frpc.confd"
 
 builddir="$srcdir/${pkgname}-${pkgver}/"
 

@@ -31,8 +33,12 @@ package() {
 	install -Dm755 "${builddir}/bin/frpc" "${pkgdir}/usr/bin/frpc"
 	install -Dm755 "${srcdir}/frps.initd" "${pkgdir}/etc/init.d/frps"
 	install -Dm644 "${srcdir}/frps.confd" "${pkgdir}/etc/conf.d/frps"
+	install -Dm755 "${srcdir}/frpc.initd" "${pkgdir}/etc/init.d/frpc"
+	install -Dm644 "${srcdir}/frpc.confd" "${pkgdir}/etc/conf.d/frpc"
 }
 
 sha512sums="a2b663849bb44e804a08e84847ed690efda8d33794c73c0bc181409655fd94fe2b7089a24d606a2d819f749e0880b9d5df6727b7923fd25781981bbfcf5857f2  frp.tar.gz
 9e5e90d2e8ddc6d2eb4dea4d1803750aac403f5bb71d79c7d733307f4e9ad66e8ce88d938d6cbf32954cddd5671b32685b5be4259dace89c5a8befea5a5faabe  frps.initd
-ead4abcedc42214c83f2e07a920ac2e09b4a39cf4b5e6ccf2cacb89d542801afe1043b109eced4fb2a3c8df6eec44595cfe89f387543c0c7d3cb50a829447b99  frps.confd"
+ead4abcedc42214c83f2e07a920ac2e09b4a39cf4b5e6ccf2cacb89d542801afe1043b109eced4fb2a3c8df6eec44595cfe89f387543c0c7d3cb50a829447b99  frps.confd
+83be9ad71404ab04434bff90cf079aeb301e0fa24e38007e9262dde41dde63a949899b81ea445c5a907b31ca3ee6cc5c7154fbe4b83c8d2aebc1512c83939558  frpc.initd
+6ad834856c108cc67c1c6972508b30f4c7ed61e0e4b65517ce4dd8f8c2aecc5cc171f2bd2ed6cd9a7b6c63d4b7c393ab9a380714d82597417c5bcf58445366a9  frpc.confd"
diff --git a/nim/APKBUILD b/nim/APKBUILD
@@ -3,7 +3,7 @@
 #
 # WARNING: There may be breakages!
 pkgname=nim
-pkgver=1.2.6
+pkgver=1.4.2
 pkgrel=1
 pkgdesc="Imperative, multi-paradigm, compiled programming language"
 url="https://nim-lang.org/"

@@ -11,7 +11,8 @@ arch="all !s390x"
 license="MIT"
 checkdepends="nodejs"
 subpackages="$pkgname-doc nimsuggest niminst"
-depends=""  # used by nims compiler
+depends=""
+makedepends="gc-dev"
 source="$pkgname-$pkgver.tar.gz::https://github.com/nim-lang/Nim/archive/v$pkgver.tar.gz
         $pkgname-csources-0.20.0.tar.gz::https://github.com/nim-lang/csources/archive/v0.20.0.tar.gz"
 builddir="$srcdir/Nim-$pkgver"

@@ -105,5 +106,5 @@ niminst() {
 		"$subpkgdir"/usr/bin/niminst
 }
 
-sha512sums="67f5dc039655218692f6d178fad5ef903c1cf12f92bd0c181a6d8c1ec8882f2aaf2de5da92f89b4f8665645a9d7bb1304e7a8c6ba866816d030ce5d1a0a66cf7  nim-1.2.6.tar.gz
+sha512sums="eef8f7a8c1cdc80971f5bf3ad388923543c038f14a42cb705c3c3e317ef90c5b626d671c7711eb34ffa1ef7a35fef36151682a2a7f26c83f53836a9fe69d6a39  nim-1.4.2.tar.gz
 4da00678cb92cfd3b2425e4698cbbef8111c711f9457ba969367638437b5fad7928ca0a91fd24f53dcd9d341cfc420e87ec85d245767531bc57ccafd6feba258  nim-csources-0.20.0.tar.gz"
diff --git a/nimble/APKBUILD b/nimble/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Jakub Jirutka <jakub@jirutka.cz>
 # Maintainer: Jakub Jirutka <jakub@jirutka.cz>
 pkgname=nimble
-pkgver=0.11.4
+pkgver=0.12.0
 pkgrel=0
 pkgdesc="Package manager for the Nim programming language"
 url="https://github.com/nim-lang/nimble"

@@ -25,4 +25,4 @@ package() {
 	ln -s ${pkgdir}/usr/share/${pkgname} "${pkgdir}/usr/bin/nimblepkg"
 }
 
-sha512sums="d36e72c7e4c2ef57d51f086b91bf093c6d96e43989a26c30453566889325f209995abfe00449731eacd59ec3d6ab0e6c591413e5356fa8ad6c91d8aa7d330aaa  nimble-0.11.4.tar.gz"
+sha512sums="cb25f57c925af14138efa9f9229f054bd559400effe2c118dda18d7e220d9094380481befb46b2913f22831a70b3958eecb23ec085a5e3a298a4136337b96c2b  nimble-0.12.0.tar.gz"
diff --git a/oeffi-web/APKBUILD b/oeffi-web/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer:
 pkgname=oeffi-web
 pkgver=0.0.1
-pkgrel=11
+pkgrel=13
 pkgdesc="fast and simple tripplanner for the web"
 url="https://cgit.ctu.cx/oeffi-web"
 arch="all"

@@ -32,5 +32,5 @@ package() {
 	cp -r templates ${pkgdir}/usr/share/oeffi-web
 }
 
-sha512sums="7518c604539699149ca71c3af7002eb6f8384c921222917a2937239ce36d713667c8b9d039c002c843938d9e583ec79692bbe94b5ba5eead160748acbff65641  oeffi-web.tar.gz
+sha512sums="8e03a7646871444966bd686ca559a8e55d50f1d75fcd66637feb9021722d348fa2bff4e652d9722f3796cdaf5195ff13f0a3e6896b3851a89e78d385750fb0c2  oeffi-web.tar.gz
 a7c5f4509c3fcf52ff514604a42030fbab230db6ca7903e3f74b523331489dfa5401631952bb8705aa281e084bcd61f6cc5fc79b82bc422ebdc487901d44e426  oeffi-web.initd"
diff --git a/oeffisearch/APKBUILD b/oeffisearch/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer:
 pkgname=oeffisearch
 pkgver=0.0.1
-pkgrel=10
+pkgrel=12
 pkgdesc="fast and simple tripplanner for the web"
 url="https://cgit.ctu.cx/fritzbox-exporter"
 arch="all"

@@ -31,5 +31,5 @@ package() {
 	cp -r client $pkgdir/usr/share/oeffisearch
 }
 
-sha512sums="e444696913bbddfaeaefbb19307a1009514d164de5e488c39daa6535ba552f004d53d574f6e8a3f07e3d4361a39febd67e15121ebb7810c3b5b3f7f77ce1bf4a  oeffisearch.tar.gz
+sha512sums="a0751335cd61034c6a196b109afe3c201a6c91865906feb63c27e9240f82f706fe36e2b2d38994097999c7e4f703bdc97ce0710bd8fb34bd40a0fd994ca7f3f2  oeffisearch.tar.gz
 65dd12c9edb74505a9b9b48ddc91da6a62372d81b6729cd38984bcc39935a34caa790cfdfb2e56a1bee19daa57a76c979ee4e675702d881fa30c20d40579a3ef  oeffisearch.initd"