updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / wuu / PKGBUILD
blobf71a5a4dda7706b85a2572b5d9fa9eb1f0411af9
1 # Contributor: Heikki Mehtänen <heikki at mehtanen dot fi> 
3 pkgname=wuu
4 pkgver=1.9.673
5 pkgrel=1
6 pkgdesc="WoW UI Updater"
7 arch=('i686' 'x86_64')
8 url="http://wuu.vagabonds.info/"
9 license=('custom:zlib')
10 depends=('wxgtk' 'wxpython')
11 source=("wuu_linux.patch" "WUU" "LICENSE" "http://wuu.vagabonds.info/files/WUU-$pkgver-src.zip")
12 md5sums=('2649c9af0267dcb253933c5b9b9258eb'
13          '020643f77df112f438a0f05c1a34ef9a'
14          '306ac6425547e32eb8dc261b70bd0a68'
15          'c2f3d12a411c50985e719e2acde746c1')
17 build() {
18         # making mandatory directories
19         mkdir -p $pkgdir/usr/share/{wuu/lang,licenses/wuu}
20         mkdir -p $pkgdir/usr/bin
22         cd $srcdir
23         patch -p0 < wuu_linux.patch
25         # copy files
26         install -m755 $srcdir/WUU $pkgdir/usr/bin/
27         install -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/wuu/
28         install -m644 $srcdir/*[^lang] $pkgdir/usr/share/wuu/
29         install -m644 $srcdir/lang/* $pkgdir/usr/share/wuu/lang/
31         # remove futile paraphanelia
32         for i in 0 1 2; do
33                 rm $pkgdir/usr/share/wuu/${source[$i]}
34         done
35         rm $pkgdir/usr/share/wuu/WUU-$pkgver-src.zip
36 }