fixed archlinux and rpm builds
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION=`git --no-pager describe --tags --always`
|
VERSION=`git --no-pager describe --tags --always | cut -d'-' -f0`
|
||||||
|
PKGREL=`git --no-pager describe --tags --always | cut -d'-' -f1`
|
||||||
|
|
||||||
# x86_64
|
# x86_64
|
||||||
mkdir -p x86_64
|
mkdir -p x86_64
|
||||||
@@ -9,6 +10,7 @@ cd x86_64
|
|||||||
cp ../build-scripts/PKGBUILD.arch PKGBUILD
|
cp ../build-scripts/PKGBUILD.arch PKGBUILD
|
||||||
cp ../build-scripts/INSTALL.arch INSTALL
|
cp ../build-scripts/INSTALL.arch INSTALL
|
||||||
echo "pkgver=$VERSION" >> PKGBUILD
|
echo "pkgver=$VERSION" >> PKGBUILD
|
||||||
|
echo "pkgrel=$PKGREL" >> PKGBUILD
|
||||||
echo "arch=('x86_64')" >> PKGBUILD
|
echo "arch=('x86_64')" >> PKGBUILD
|
||||||
ls -lah
|
ls -lah
|
||||||
makepkg -f --sign --key 975DC25C4E730A3C
|
makepkg -f --sign --key 975DC25C4E730A3C
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
VERSION=$1
|
VERSION=`git --no-pager describe --tags --always`
|
||||||
ARCH=$2
|
ARCH=$2
|
||||||
|
|
||||||
PATH=$PATH:/sbin/
|
PATH=$PATH:/sbin/
|
||||||
|
|
||||||
mkdir -p SOURCES
|
mkdir -p SOURCES
|
||||||
tar -czf SOURCES/infnoise.tar.gz . --exclude="*.sh" --exclude="SOURCES"
|
tar -czf SOURCES/infnoise.tar.gz . --exclude="SOURCES"
|
||||||
|
|
||||||
mkdir -p BUILD SPECS RPMS SRPMS
|
mkdir -p BUILD SPECS RPMS SRPMS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user