qsign: upgrade to 4
This commit is contained in:
parent
15352225be
commit
da9d43373e
3 changed files with 10 additions and 4 deletions
|
@ -1,19 +1,21 @@
|
||||||
# Contributor: psykose <alice@ayaya.dev>
|
# Contributor: psykose <alice@ayaya.dev>
|
||||||
# Maintainer: psykose <alice@ayaya.dev>
|
# Maintainer: psykose <alice@ayaya.dev>
|
||||||
pkgname=qsign
|
pkgname=qsign
|
||||||
pkgver=3
|
pkgver=4
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="quicksign local apk repos"
|
pkgdesc="quicksign local apk repos"
|
||||||
url="https://git.ddd.rip/ptrcnull/ptrcports"
|
url="https://git.ddd.rip/ptrcnull/ptrcports"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
source="qsign"
|
source="qsign qsign.conf"
|
||||||
options="!check" # ???????????????????????????????????????????
|
options="!check" # ???????????????????????????????????????????
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 "$srcdir"/qsign -t "$pkgdir"/usr/bin
|
install -Dm755 "$srcdir"/qsign -t "$pkgdir"/usr/bin
|
||||||
|
install -Dm644 "$srcdir"/qsign.conf -t "$pkgdir"/etc
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
9d02320137064a29a0dd173564c86f349d54a30fbf41b4c4306d47f5331a27b8b4a5f1954ec0210577f2cef28448e3e10067f3186f194ce4d263bedb6a614bed qsign
|
fc4764a879868f50b75da0d0b35ca9123d9d1027d4954f4dbb672c281b7d4630279e9a00d7c747551be807760bfc991625e7b8eff04e60b2e4133a5fbc92f36d qsign
|
||||||
|
c6791d0a4d74acfa81b74f4129b31e008fd409be0e2dad4fb2c04187385666a47d475d4795fe20dbc5afcc5b4e2a35462bd43fb5fac006e03bafad93de4f65bc qsign.conf
|
||||||
"
|
"
|
||||||
|
|
|
@ -3,8 +3,11 @@
|
||||||
arch="$(apk --print-arch)"
|
arch="$(apk --print-arch)"
|
||||||
|
|
||||||
. /etc/abuild.conf
|
. /etc/abuild.conf
|
||||||
|
. /etc/qsign.conf
|
||||||
|
|
||||||
for repo in main community testing; do
|
: ${repos:="main community testing"}
|
||||||
|
|
||||||
|
for repo in $repos; do
|
||||||
cd "$REPODEST/$repo/$arch"
|
cd "$REPODEST/$repo/$arch"
|
||||||
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz
|
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz
|
||||||
abuild-sign APKINDEX.tar.gz
|
abuild-sign APKINDEX.tar.gz
|
||||||
|
|
1
qsign/qsign.conf
Normal file
1
qsign/qsign.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
repos="main community testing"
|
Reference in a new issue