From 2d595fa03f23869e89d408ecc3738ba0696df16a Mon Sep 17 00:00:00 2001 From: lod Date: Sun, 26 Nov 2023 15:47:10 +0100 Subject: [PATCH] remove Version suffix, we dont need it anymore --- PKGBUILD | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index cbddb9f..aac900e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -44,7 +44,6 @@ b2sums=('SKIP' prepare() { _pkgbase=$srcdir/${pkgname%%-*} - _versuff=${pkgver/./} && _versuff=${_versuff%%.*} export EDGETX_VERSION_TAG=$pkgver @@ -72,13 +71,10 @@ prepare() { build() { cd $_pkgbase - ./tools/build-companion.sh $MAKEFLAGS $_pkgbase $srcdir/build $_versuff + ./tools/build-companion.sh $MAKEFLAGS $_pkgbase $srcdir/build } package() { cd $srcdir/build/native make DESTDIR=$pkgdir/ install - cd $pkgdir/usr/share/applications - sed -i -e 's/Categories=Application/Categories=Utility/' companion$_versuff.desktop - sed -i -e 's/Categories=Application/Categories=Utility/' simulator$_versuff.desktop }