# # Chakra Packages for Chakra, part of chakra-project.org # # contributor (x86_64): Giuseppe CalĂ  # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=silly pkgver=0.1.0 pkgrel=1 pkgdesc="Simple Image Loading LibrarY, a part of the CEGUI project" arch=('i686' 'x86_64') url="http://www.cegui.org.uk/wiki/index.php/SILLY" license=('MIT') depends=('libjpeg' 'libpng' 'gcc-libs') options=('!libtool') source=(http://downloads.sourceforge.net/crayzedsgui/SILLY-${pkgver}.tar.gz) md5sums=('c3721547fced7792a36ffc9ce6ec23fd') sha1sums=('ef5c8ed6c5c57d7d792dbb9e02006c3770334869') build() { cd "${srcdir}/SILLY-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1 }