Changed semantics: - package upload is handled by a separate script - dropped syntax highlighting (unnecessary, and had concurrency issues) - `make install' is no longer used in the packaging process - debian package changelog points to the forum, instead of showing out of date info - debian package ships tao dlls in the game root, and doesn't insert them in the gac - debian package refers users to the website for help manually installing packages
17 lines
318 B
Bash
17 lines
318 B
Bash
#!/bin/bash
|
|
E_BADARGS=85
|
|
if [ $# -ne "2" ]
|
|
then
|
|
echo "Usage: `basename $0` version outputdir"
|
|
exit $E_BADARGS
|
|
fi
|
|
|
|
PKGVERSION=`echo $1 | sed "s/-/\\./g"`
|
|
sed -i "s/pkgver=[0-9\\.]\+/pkgver=$PKGVERSION/" PKGBUILD
|
|
|
|
makepkg --holdver
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
|
|
mv openra-git-$PKGVERSION-1-any.pkg.tar.xz $2 |