blob: 2feb433b505a8016e042a68944e226020a28a6eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
if [[ ! $# -eq "2" ]]; then
echo "Usage:"
echo "$0 version omege_version"
exit 1
fi
rm -v TerasologyOmega.zip{,.part}
rm -rv src/
echo "Setting version to $1"
sed -i "s/pkgver=.*/pkgver=$1/g" PKGBUILD
echo "Setting Omega version to $2"
sed -i "s/_omega_ver=.*/_omega_ver=$2/g" PKGBUILD
echo updpkgsums
updpkgsums
chmod -v 644 PKGBUILD
echo mkaurball -f
mkaurball -f
makepkg
mksrcinfo
|