updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / naclys / PKGBUILD
bloba6cdd76777e7cea2796a28fcefa446faadd6e28a
1 # Maintainer: Pierre Chiche < pierre [dot] chiche [at] gmail [dot] com
2 pkgname=naclys
3 pkgver=0.0.10
4 pkgrel=1
5 pkgdesc="Latest client for the collaborative rendering farm Corefarm.org"
6 arch=('i686' 'x86_64')
7 url="http://www.corefarm.org/"
8 license=('unknown')
9 depends=()
10 source=(http://www.corefarm.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
11 md5sums=('8e3f505bf30a6ee1b0f807d37966a27b')
13 build() {
14   cd ${srcdir}/${pkgname}-${pkgver}
15   sed 's|NACLYS=/path/to/naclys/naclys|NACLYS=/usr/share/naclys/naclys-node|' -i launch.sh
16   sed 's|UI_ROOT=doc_root|UI_ROOT=/usr/share/naclys/doc_root|' -i launch.sh
17   install -Dm755 launch.sh ${pkgdir}/usr/bin/naclys
18   install -Dm755 naclys ${pkgdir}/usr/share/naclys/naclys-node
19   install -Dm755 sel_ldr ${pkgdir}/usr/share/naclys/sel_ldr
20   msg "Please edit /usr/bin/naclys to set your login and password"
21   cp -r doc_root/ ${pkgdir}/usr/share/naclys/
22   cp README ${pkgdir}/usr/share/naclys/