ctucx.git: alpine-pkgs

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

commit 6a894cba44a41750bd0fad7490ed14cdc2c9cc2d
parent c63893b74b05243d7eada474c40095e447eaa3da
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 20 Jan 2021 20:44:25 +0100

pleroma: clenup
1 file changed, 10 insertions(+), 10 deletions(-)
M
pleroma/APKBUILD
|
20
++++++++++----------
diff --git a/pleroma/APKBUILD b/pleroma/APKBUILD
@@ -1,8 +1,8 @@
-# Contributor:
-# Maintainer:
+# Contributor: Leah (ctucx) <leah@ctu.cx>
+# Maintainer: Leah (ctucx) <leah@ctu.cx>
 pkgname=pleroma
-pkgver=2.2.0
-pkgrel=11
+pkgver=2.2.2
+pkgrel=0
 pkgdesc="Pleroma ActivityPub Server"
 url="https://pleroma.social/"
 arch="all"

@@ -10,26 +10,26 @@ license="MIT"
 depends="postgresql postgresql-contrib openssl exiftool imagemagick"
 makedepends="git build-base file-dev postgresql elixir erlang cmake"
 install="$pkgname.pre-install $pkgname.post-deinstall"
-subpackages=""
+subpackages="${pkgname}-openrc"
 giturl="https://git.pleroma.social/pleroma/pleroma"
 source="0001-PATCH-Separate-webfinger-domain-from-host-domain.patch
 	initd.patch
 	pleroma.sample.exs"
-builddir="$srcdir/$pkgname-$pkgver"
+builddir="${srcdir}/${pkgname}-${pkgver}"
 
 prepare() {
-	mkdir $builddir;
+	mkdir ${builddir};
 	git clone -b "release/${pkgver}" "${giturl}" "${builddir}";
-	cd $builddir;
+	cd ${builddir};
 	git am < ../0001-PATCH-Separate-webfinger-domain-from-host-domain.patch;
 }
 
 build() {
-	cd $builddir;
+	cd ${builddir};
 	mix deps.get;
 	echo 'import Mix.Config' > config/prod.secret.exs;
 	MIX_ENV=prod mix release --path ./output;
-	patch output/installation/init.d/pleroma $srcdir/initd.patch
+	patch output/installation/init.d/pleroma ${srcdir}/initd.patch
 }
 
 check() {