qsign: new ptrcport

This commit is contained in:
psykose 2022-04-26 02:11:53 +00:00
parent b1c4b7a617
commit 59209f2316
Signed by: psykose
SSH key fingerprint: SHA256:HwlGVJNLZqHoOvMtkshyGaXLkcdbEJahYMlepHFL+Uk
2 changed files with 30 additions and 0 deletions

19
qsign/APKBUILD Normal file
View file

@ -0,0 +1,19 @@
# Contributor: psykose <alice@ayaya.dev>
# Maintainer: psykose <alice@ayaya.dev>
pkgname=qsign
pkgver=1
pkgrel=0
pkgdesc="quicksign local apk repos"
url="https://git.ddd.rip/ptrcnull/ptrcports"
arch="noarch"
license="ISC"
source="qsign"
options="!check" # ???????????????????????????????????????????
package() {
install -Dm755 "$srcdir"/qsign -t "$pkgdir"/usr/bin
}
sha512sums="
ad73e39cdaef9a9dced9719c85fa1d36b4354b1c1352b5e8305b7a0edac189fbba067ca3d659ccd740f35c01c9f7618e2edcca6eb600be0c7dbd41b157b66bee qsign
"

11
qsign/qsign Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh -e
arch="$(cat /etc/apk/arch)"
. /etc/abuild.conf
for repo in main community testing personalrepo ptrcports; do
cd "$REPODEST/$repo/$arch"
apk index --no-warnings ./*.apk -o APKINDEX.tar.gz
abuild-sign APKINDEX.tar.gz
done