use gpg signature

This commit is contained in:
speedie 2023-05-21 14:48:36 +02:00
parent 1711c5a9ad
commit 98d169a074
2 changed files with 5 additions and 1 deletions

View file

@ -13,10 +13,11 @@ provides=($pkgname)
conflicts=($pkgname) conflicts=($pkgname)
source=( source=(
"$pkgname-$pkgver.tar.gz" "$pkgname-$pkgver.tar.gz"
"$pkgname-$pkgver.tar.gz.sig"
#"https://ls.speedie.site/releases/$pkgname/$pkgname-$pkgver.tar.gz" #"https://ls.speedie.site/releases/$pkgname/$pkgname-$pkgver.tar.gz"
) )
md5sums=(MD5SUM) md5sums=(MD5SUM 'SKIP')
build(){ build(){
cd $pkgname-$pkgver cd $pkgname-$pkgver

View file

@ -13,3 +13,6 @@ cp -rf LICENSE meson.build meson.options *.h *.c scripts/ docs/ libs/ PKGBUILD s
tar -cf spmenu-${version}.tar spmenu-${version} tar -cf spmenu-${version}.tar spmenu-${version}
gzip spmenu-${version}.tar gzip spmenu-${version}.tar
rm -rf spmenu-${version} rm -rf spmenu-${version}
if [ -x "$(command -v gpg)" ]; then
gpg --detach-sign --yes --local-user $(whoami) spmenu-${version}.tar.gz
fi