updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / animata / PKGBUILD
blobe27a4649e511ef6bf0dc3513cc1e0ec8001caa62
1 # Maintainer: farid <farid @ archlinux-br.org>
2 # Contributor: SpepS <dreamspepser at yahoo dot it>
4 pkgname=animata
5 pkgver=004
6 pkgrel=1
7 pkgdesc="an open source real-time animation software"
8 arch=('i686' 'x86_64')
9 url="http://animata.kibu.hu/"
10 license=('GPL')
11 depends=('fltk' 'mesa')
12 makedepends=('scons')
13 install=${pkgname}.install
14 source=("http://${pkgname}.googlecode.com/files/${pkgname}_${pkgver}-091218.tar.gz"
15         "${pkgname}.desktop")
16 md5sums=('2543be151b3adab2ecd7a6126897129f'
17          'd0925c377582c616ce6a9cf6e0688f2b')
19 build() {
21   cd "${srcdir}/${pkgname}"
22   scons PREFIX=/usr
25 package() {     
27   cd "${srcdir}/${pkgname}"
29   mkdir -p "${pkgdir}"/usr/{share/{"${pkgname}",icons,applications},bin}
31   cp -a examples "${pkgdir}/usr/share/${pkgname}"
33   install -Dm 644 "../${pkgname}.desktop" "${pkgdir}/usr/share/applications"
34   install -Dm 644 "data/${pkgname}_icon.png" "${pkgdir}/usr/share/icons/${pkgname}.png"
35   install -Dm 755 "build/${pkgname}" "${pkgdir}/usr/bin"