updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / t-t_torpia / PKGBUILD
blob1e67993ef5aebd5e77e16aee637a85e432d94fc3
1 # Contributor: T-T
3 pkgname='t-t_torpia'
4 pkgver='1.1'
5 pkgrel=0
6 pkgdesc="Automatize Torpia gaming"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/p/tttorpia/home/Home/"
9 license=('GPL')
10 depends=(bash wget)
11 makedepends=()
12 conflicts=()
13 optdepends=()
15 source=("https://downloads.sourceforge.net/project/tttorpia/$pkgver/torpia.tar.xz")
16 md5sums=(855910544bb479de5f672f0ffc8224ee)
18 build() {
19         cd ${srcdir}/
20         
21         mkdir ${pkgdir}/usr
22         mkdir ${pkgdir}/usr/share
23         mkdir ${pkgdir}/usr/share/torpia
24         mkdir ${pkgdir}/etc
25         mkdir ${pkgdir}/usr/bin
26         
27         mv ${srcdir}/torpia/start ${pkgdir}/usr/bin/torpia
28         mv ${srcdir}/torpia/torpia ${pkgdir}/usr/share/torpia/
29         mv ${srcdir}/torpia/torpia.conf ${pkgdir}/etc/
30         for soubor in ${srcdir}/torpia/*; do
31                 [[ "$soubor" =~ (\.tar\.xz|install) ]] || mv "$soubor" ${pkgdir}/usr/share/torpia/
32         done