diff --git a/qsign/APKBUILD b/qsign/APKBUILD index 4e60289..3986c22 100644 --- a/qsign/APKBUILD +++ b/qsign/APKBUILD @@ -1,12 +1,13 @@ # Contributor: psykose # Maintainer: psykose pkgname=qsign -pkgver=6 +pkgver=7 pkgrel=0 pkgdesc="quicksign local apk repos" url="https://git.ddd.rip/ptrcnull/ptrcports" arch="noarch" license="ISC" +depends="abuild apk-tools s6" source="qsign qsign.conf" options="!check" # ??????????????????????????????????????????? @@ -16,6 +17,6 @@ package() { } sha512sums=" -58f84526ed3496f77c2a5ee585d40a9a15efa76c6c8efff8c8cdc42d3f4f310520f12d419aa2d9dca382d6aebaee49780abc65a0ab8084e4de870d2b36c92758 qsign +57fc14f7697e06f9121923af6182a2acc976de30016661d3399c3bad46c1df01398c8287b6abeb40659b48f3c253cee726892c2677e08b616f00c8094550d400 qsign c6791d0a4d74acfa81b74f4129b31e008fd409be0e2dad4fb2c04187385666a47d475d4795fe20dbc5afcc5b4e2a35462bd43fb5fac006e03bafad93de4f65bc qsign.conf " diff --git a/qsign/qsign b/qsign/qsign index 75766f0..32ae256 100755 --- a/qsign/qsign +++ b/qsign/qsign @@ -9,6 +9,8 @@ arch="$(apk --print-arch)" for repo in $repos; do cd "$REPODEST/$repo/$arch" || continue - apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz - abuild-sign APKINDEX.tar.gz + s6-setlock /dev/shm/qsign-lock-$repo sh -c ' + apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz + abuild-sign APKINDEX.tar.gz + ' done