updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / epsxe-plugin-gpu-soft / PKGBUILD
blob9d2ae0aa31e44dead72c8418a298abe6cf028cf7
1 # Contributor: Dylan D'Arcy <dylan.somebody at gmail dot com>
3 pkgname=epsxe-plugin-gpu-soft
4 pkgver=1.18
5 pkgrel=1
6 pkgdesc="Software GPU Plugin"
7 arch=('i686')
8 url="http://www.pbernert.com/"
9 license=('custom')
10 groups=()
11 depends=(epsxe)
12 replaces=()
13 source=("http://www.pbernert.com/gpupeopssoftx118.tar.gz" \
14         "http://www.pbernert.com/petegpucfg_V2-9_V1-77_V1-18.tar.gz")
15 md5sums=('0a92e9caad7858b616a88006be66492d'
16          '7519c476a1eb28572ba6b49e82b15c5d')
18 build() {
19     cd "${srcdir}"
20     
21     tar -xvf gpupeopssoftx118.tar.gz
22     rm -rf *.txt
23     
24     tar -xvf petegpucfg_V2-9_V1-77_V1-18.tar.gz
25     rm -f ${srcdir}/cfg/cfgPete{MesaGL,XGL2}
26     
27     mkdir -p ${pkgdir}/opt/epsxe/cfg
28     mv {*.cfg,cfg/cfg*} ${pkgdir}/opt/epsxe/cfg
29     mkdir -p ${pkgdir}/opt/epsxe/plugins
30     mv libgpuPeopsSoftX.so.1.0.18 ${pkgdir}/opt/epsxe/plugins
32     chmod 775 ${pkgdir}/opt/epsxe/{cfg,plugins}
33     chown root:games ${pkgdir}/opt/epsxe/cfg
34     chown root:games ${pkgdir}/opt/epsxe/plugins
35     chmod 664 ${pkgdir}/opt/epsxe/cfg/gpuPeopsSoftX.cfg
36     chmod 775 ${pkgdir}/opt/epsxe/cfg/gpuPeopsSoftX.cfg