blob: 1dfc49cb50c79d84447cae9b4e63ad554099aa8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
if [[ ! $# -eq "2" ]]; then
echo "Usage:"
echo "$0 version version_postfix"
exit 1
fi
rm -v TerasologyOmega.zip{,.part}
rm -rv src/
echo "Setting version to $1"
sed -i "s/_version=.*/_version=$1/g" PKGBUILD
echo "Setting version postfix to $2"
sed -i "s/_verson_postfix=.*/_version_postfix=$2/g" PKGBUILD
echo updpkgsums
updpkgsums
chmod -v 644 PKGBUILD
makepkg
makepkg --printsrcinfo > .SRCINFO
|