You are not logged in.
Hey guys someone have time to fix tha issues on this mkpkg?
https://aur.archlinux.org/packages.php?ID=31133
a read the comments but i dont have expertise in bash syntax :S
pkgname=cockatrice-git
pkgver=20100113
pkgrel=1
pkgdesc="Cockatrice is an open-source, multiplatform software package for playing card games, such as Magic: The Gathering, over a network."
arch=('i686' 'x86_64')
url="http://www.cockatrice.de/index.php"
license=('GPLv2')
depends=('qt>=4.5.1')
_gitroot="git://cockatrice.de/home/cockgit/cockatrice"
_gitname="cockatrice"
build() {
cd "$srcdir"
msg "Connecting to the GIT server...."
if [ -d "$_gitname" ]; then
cd $_gitname && git pull origin
msg2 "Local files updated"
cd ..
else
git clone $_gitroot
fi
msg2 "GIT checkout done or server timeout"
rm -rf $_gitname-build
cp -r $_gitname $_gitname-build
cd $_gitname-build/cockatrice
lrelease cockatrice.pro || return 1
qmake || return 1
make || return 1
cd ../oracle
lrelease oracle.pro || return 1
qmake || return 1
make || return 1
cd ../servatrice
lrelease servatrice.pro || return 1
qmake || return 1
make || return 1
cd ..
mkdir -p $startdir/pkg/opt/cockatrice/bin
mkdir -p $startdir/pkg/opt/cockatrice/oracle
mkdir -p $startdir/pkg/opt/cockatrice/pic
chmod 775 $startdir/pkg/opt/cockatrice/oracle
chmod 775 $startdir/pkg/opt/cockatrice/pic
groupadd games
chown -R root.games $startdir/pkg/opt/cockatrice/oracle
chown -R root.games $startdir/pkg/opt/cockatrice/pic
cp cockatrice/cockatrice $startdir/pkg/opt/cockatrice/bin
cp -r cockatrice/resources $startdir/pkg/opt/cockatrice/bin
cp oracle/oracle $startdir/pkg/opt/cockatrice/bin
cp oracle/sets.xml $startdir/pkg/opt/cockatrice/oracle
cp servatrice/servatrice $startdir/pkg/opt/cockatrice/bin
cp servatrice/servatrice.ini.example $startdir/pkg/opt/cockatrice/bin
echo
echo "Please make sure your user is a member of the group 'games'."
echo
echo "To download the latest M:TG card list for Cockatrice, please do the following:"
echo "cd /opt/cockatrice/bin"
echo "./oracle"
echo
echo "Then open Cockatrice, go to File->Settings, and change the path to Cards"
echo "Database to '/opt/cockatrice/oracle/cards.xml', and the path to Pictures to"
echo "'/opt/cockatrice/pic'."
echo
}
user@localhost $ grep -rnw "." -e "hacking"
Offline
what about the maintainer?
ezik
Offline
AUR stuff belongs in the AUR forum . Moving.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline