forked from speedie/spmenu
use gpg signature
This commit is contained in:
parent
1711c5a9ad
commit
98d169a074
3
PKGBUILD
3
PKGBUILD
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue