aboutsummaryrefslogtreecommitdiff
path: root/midr/APKBUILD
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-30 20:51:36 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-30 20:52:45 +0000
commitef9e52a017b9afa06d398c651050deb86c044819 (patch)
treebf2f2f379ee7df6994d42a961f15c8eb755c0450 /midr/APKBUILD
parent489049464e09b5bf247adb67d4a3e962bc0a9b5f (diff)
downloadapkbuilds-ef9e52a017b9afa06d398c651050deb86c044819.tar.gz
apkbuilds-ef9e52a017b9afa06d398c651050deb86c044819.tar.bz2
apkbuilds-ef9e52a017b9afa06d398c651050deb86c044819.zip
feat: Add genpass apk build
Diffstat (limited to 'midr/APKBUILD')
-rw-r--r--midr/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/midr/APKBUILD b/midr/APKBUILD
index f349434..b985257 100644
--- a/midr/APKBUILD
+++ b/midr/APKBUILD
@@ -25,10 +25,10 @@ source="
build() {
go mod vendor
go build \
- -trimpath \
- -mod=vendor \
- -ldflags="-X 'main.Version=${pkgver}'" \
- .
+ -trimpath \
+ -mod=vendor \
+ -ldflags="-X 'main.Version=${pkgver}'" \
+ .
}
package() {
@@ -38,10 +38,10 @@ package() {
mkdir -p "$pkgdir"/usr/bin
ln -s /usr/lib/"$pkgname"/"$pkgname" "$pkgdir"/usr/bin/"$pkgname"
- install -m755 -D "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname
- install -m644 -D "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/$pkgname
+ install -m755 -D "$srcdir"/$pkgname.initd \
+ "$pkgdir"/etc/init.d/$pkgname
+ install -m644 -D "$srcdir"/$pkgname.confd \
+ "$pkgdir"/etc/conf.d/$pkgname
}
sha512sums="