updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / ensemblist / PKGBUILD
blobef707c283e29ebcd55e0885315edc31494143a91
1 #contributor: Jacek Poplawski <jacekpoplawski@gmail.com> 
3 pkgname=ensemblist
4 pkgver=040126
5 pkgrel=2
6 arch=('i686')
7 license=('GPL')
8 pkgdesc="Construction solid geometry game"
9 url="http://www.nongnu.org/ensemblist/index_en.html"
10 depends=('freeglut' 'libpng' 'libmikmod' 'libxmu')
11 source=(http://download.savannah.nongnu.org/releases/ensemblist/ensemblist-040126.tar.gz)
12 md5sums=('67f42488b7b502bb5f4840ad130bcd72')
14 build() {
15         cd ${srcdir}/${pkgname}-${pkgver}
16         make
17         install -d ${pkgdir}/usr/{bin,share/${pkgname}}
18         cp -R ${srcdir}/${pkgname}-${pkgver}/datas/* ${pkgdir}/usr/share/${pkgname}
19         install ${srcdir}/${pkgname}-${pkgver}/${pkgname} ${pkgdir}/usr/share/${pkgname}
20         echo -e "#!/bin/bash\n\ncd /usr/share/ensemblist\n./ensemblist" >> ${pkgdir}/usr/bin/ensemblist
21         chmod 755 ${pkgdir}/usr/bin/ensemblist