diff --git a/qsign/APKBUILD b/qsign/APKBUILD new file mode 100644 index 0000000..320e8fb --- /dev/null +++ b/qsign/APKBUILD @@ -0,0 +1,19 @@ +# Contributor: psykose +# Maintainer: psykose +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 +" diff --git a/qsign/qsign b/qsign/qsign new file mode 100755 index 0000000..642cc93 --- /dev/null +++ b/qsign/qsign @@ -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