remove Version suffix, we dont need it anymore
This commit is contained in:
parent
28f5bc15b4
commit
2d595fa03f
1 changed files with 1 additions and 5 deletions
6
PKGBUILD
6
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue