updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / yatc / PKGBUILD
blobbdab25e84b20091924c78ec33bb8c50af4419648
1 # Contributor: zoulnix <http://goo.gl/HQaP>
2 pkgname=yatc
3 pkgver=0.3.2
4 pkgrel=2
5 pkgdesc="A client for any game that uses Tibia-compatible protocol."
6 arch=('i686' 'x86_64')
7 url="http://yatc.vucica.net/"
8 license=('GPL')
9 depends=('sdl_gfx' 'gmp' 'glict-svn>=105')
10 makedepends=('gcc' 'imagemagick' 'make' 'pkg-config')
11 options=('!libtool')
12 source=(http://ivan.vucica.net/yatc/src/${pkgname}-${pkgver}.tar.gz \
13         ${pkgname}.desktop)
14 md5sums=('96f23e92ebd47814719b447f19f9849a' 'e5ac284f6013e9b541b440f563334323')
16 build() { 
17   cd ${srcdir}/${pkgname}-${pkgver}
19   ./configure --prefix=/usr \
20               --sysconfdir=/etc \
21               --localstatedir=/var \
22               --disable-static
24   make || return 1
27 package() {
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