updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / epsxe-plugin-gpu-xgl2 / PKGBUILD
blob4ea1edbd1ad8cbcd4e0502b8018571a3a8722407
1 # Contributor: Swen Simon <swsimon at gmail dot com>
3 pkgname=epsxe-plugin-gpu-xgl2
4 pkgver=2.9
5 pkgrel=2
6 pkgdesc="Linux port of the OpenGL2 plugin"
7 url="http://www.pbernert.com"
8 depends=('epsxe')
9 source=(http://www.pbernert.com/gpupetexgl209.tar.gz http://www.pbernert.com/gpupetexgl208.tar.gz)
10 md5sums=('61bdad38a3a616bc000664de23d00c6e' '088c5cdc21a0807e9227d7ec4672b51d')
11 license=('custom')
12 arch=('i686' 'x86_64')
14 build() {
15   cd $startdir/src
17   tar -zxvf gpupetexgl208.tar.gz
19   mkdir -p $startdir/pkg/opt/epsxe/{cfg,plugins}
20   mv {cfg*,*.cfg} $startdir/pkg/opt/epsxe/cfg
21   mv libgpuPeteXGL2.so.2.0.9 $startdir/pkg/opt/epsxe/plugins
23   # permissions
24   chown root:games $startdir/pkg/opt/epsxe/cfg/{cfgPeteXGL2,gpuPeteXGL2.cfg}
25   chown root:games $startdir/pkg/opt/epsxe/plugins/libgpuPeteXGL2.so.2.0.9
26   chmod 775 $startdir/pkg/opt/epsxe/{plugins,cfg}
27   chmod 775 $startdir/pkg/opt/epsxe/cfg/cfgPeteXGL2
28   chmod 664 $startdir/pkg/opt/epsxe/cfg/gpuPeteXGL2.cfg
29   chmod 775 $startdir/pkg/opt/epsxe/plugins/libgpuPeteXGL2.so.2.0.9