1 # Contributor: zoulnix <http://goo.gl/HQaP>
5 pkgdesc="A client for any game that uses Tibia-compatible protocol."
7 url="http://yatc.vucica.net/"
9 depends=('sdl_gfx' 'gmp' 'glict-svn>=105')
10 makedepends=('gcc' 'imagemagick' 'make' 'pkg-config')
12 source=(http://ivan.vucica.net/yatc/src/${pkgname}-${pkgver}.tar.gz \
14 md5sums=('96f23e92ebd47814719b447f19f9849a' 'e5ac284f6013e9b541b440f563334323')
17 cd ${srcdir}/${pkgname}-${pkgver}
19 ./configure --prefix=/usr \
21 --localstatedir=/var \
28 cd ${srcdir}/${pkgname}-${pkgver}
29 install -d ${pkgdir}/usr/share/{applications,pixmaps} || return 1
31 make DESTDIR=${pkgdir} install || return 1
33 install -m644 ${startdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/ || return 1
34 install -m644 ${pkgname}.ico.png ${pkgdir}/usr/share/pixmaps/ || return 1