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
@@ -41,15 +41,14 @@ cp -r hicolor root/usr/share/icons/
|
|||||||
fi
|
fi
|
||||||
) &
|
) &
|
||||||
|
|
||||||
# (
|
(
|
||||||
# echo "Building Arch-Linux package."
|
echo "Building Arch-Linux package."
|
||||||
# pushd pkgbuild/ &> /dev/null
|
cd pkgbuild
|
||||||
# sh buildpackage.sh "$VERSION" "$PACKAGEDIR" &> package.log
|
sh buildpackage.sh "$VERSION" "$PACKAGEDIR" &> package.log
|
||||||
# if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
# echo "Arch-Linux package build failed, refer to $PWD/package.log."
|
echo "Arch-Linux package build failed, refer to $PWD/package.log."
|
||||||
# fi
|
fi
|
||||||
# popd &> /dev/null
|
) &
|
||||||
# ) &
|
|
||||||
#
|
#
|
||||||
# (
|
# (
|
||||||
# echo "Building RPM package."
|
# echo "Building RPM package."
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Package: openra
|
|||||||
Version: {VERSION}
|
Version: {VERSION}
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Maintainer: Matthew Bowra-Dean <matthew@ijw.co.nz>
|
Maintainer: Matthew Bowra-Dean <matthew@ijw.co.nz>
|
||||||
Uploaders: Maikel van den Hout <ma1kelvdh@gmail.com>
|
Uploaders: Maikel van den Hout <ma1kelvdh@gmail.com>, Paul Chote <sleipnir@sleipnirstuff.com>
|
||||||
Installed-Size: {SIZE}
|
Installed-Size: {SIZE}
|
||||||
Depends: nvidia-cg-toolkit (>= 2.1), libopenal1, mono-runtime, libmono-winforms2.0-cil, libfreetype6, libsdl1.2debian, libgl1-mesa-glx, libgl1-mesa-dri, zenity, wget, unzip
|
Depends: nvidia-cg-toolkit (>= 2.1), libopenal1, mono-runtime, libmono-winforms2.0-cil, libfreetype6, libsdl1.2debian, libgl1-mesa-glx, libgl1-mesa-dri, zenity, wget, unzip
|
||||||
Section: games
|
Section: games
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# OpenRA packaging script for Mac OSX
|
# OpenRA packaging script for Debian based distributions
|
||||||
E_BADARGS=85
|
E_BADARGS=85
|
||||||
if [ $# -ne "3" ]
|
if [ $# -ne "3" ]
|
||||||
then
|
then
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Contributor: Matthew Bowra-Dean <matthew@ijw.co.nz>
|
# Contributor: Matthew Bowra-Dean <matthew@ijw.co.nz>
|
||||||
pkgname=openra-git
|
pkgname=openra
|
||||||
pkgver=20100806.2
|
pkgver={VERSION}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Open Source rebuild of the Red Alert game engine using Mono/OpenGL."
|
pkgdesc="Open Source rebuild of the Red Alert game engine using Mono/OpenGL."
|
||||||
arch=(any)
|
arch=(any)
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
PKGVERSION=`echo $1 | sed "s/-/\\./g"`
|
PKGVERSION=`echo $1 | sed "s/-/\\./g"`
|
||||||
sed -i "s/pkgver=[0-9\\.]\+/pkgver=$PKGVERSION/" PKGBUILD
|
sed -i "s/{VERSION}/$PKGVERSION/" PKGBUILD
|
||||||
|
|
||||||
makepkg --holdver
|
makepkg --holdver
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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