updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / wosoggie / PKGBUILD
blob20150e7e49984e420e03c52676a9350471660fcc
1 # Maintainer: Pierre Chiche < pierre [dot] chiche [at] gmail [dot] com
2 pkgname=wosoggie
3 pkgver=0.1.11
4 pkgrel=3
5 pkgdesc="Next-generation 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 http://www.corefarm.org/${pkgname}/public_key wosoggie)
11 md5sums=('fa067a42bba2b3d98d889fc91780e7d4'
12          '5c6a422d173d879060aa80a81e5cf1cf'
13          'ed0e11d729923adccc9bcf12d444f7bb')
15 build() {
16   install -Dm755 ${srcdir}/wosoggie ${pkgdir}/usr/bin/wosoggie
17   install -Dm644 public_key ${pkgdir}/usr/share/wosoggie/public_key
18   cd ${srcdir}/${pkgname}_${pkgver}
20   install -Dm755 node ${pkgdir}/usr/share/wosoggie/wosoggie-node
21   install -Dm644 sel_ldr ${pkgdir}/usr/share/wosoggie/sel_ldr
23   sed 's|/your_wosoggie_path/launcher/|/usr/share/wosoggie/launcher/|' -i wosoggie.xml
24   sed 's|/home/leferran/task_key_public|/usr/share/wosoggie/public_key|' -i wosoggie.xml
25   install -Dm644 wosoggie.xml ${pkgdir}/etc/wosoggie/wosoggie.xml
27   cp -r launcher/ ${pkgdir}/usr/share/wosoggie/
28   cp README ${pkgdir}/usr/share/wosoggie/