Made debian package to architecture independent. Brought arch package up to date.
This commit is contained in:
committed by
Paul Chote
parent
01c6127545
commit
66cc0bd8ff
@@ -1,6 +1,6 @@
|
||||
# Contributor: Matthew Bowra-Dean <matthew@ijw.co.nz>
|
||||
pkgname=openra-git
|
||||
pkgver=20100806.2
|
||||
pkgname=openra
|
||||
pkgver={VERSION}
|
||||
pkgrel=1
|
||||
pkgdesc="Open Source rebuild of the Red Alert game engine using Mono/OpenGL."
|
||||
arch=(any)
|
||||
|
||||
@@ -7,11 +7,11 @@ then
|
||||
fi
|
||||
|
||||
PKGVERSION=`echo $1 | sed "s/-/\\./g"`
|
||||
sed -i "s/pkgver=[0-9\\.]\+/pkgver=$PKGVERSION/" PKGBUILD
|
||||
sed -i "s/{VERSION}/$PKGVERSION/" PKGBUILD
|
||||
|
||||
makepkg --holdver
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mv openra-git-$PKGVERSION-1-any.pkg.tar.xz $2
|
||||
mv openra-$PKGVERSION-1-any.pkg.tar.xz $2
|
||||
Reference in New Issue
Block a user