updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / wtfmode / PKGBUILD
blobc0778e836f61753b091b5f751d3766883e561923
1 # Maintainer: Ngoc Nguyen Bao <baongoc124@gmail.com>
2 pkgname=wtfmode
3 pkgver=1.1.0
4 pkgrel=1
5 pkgdesc="WTFmode.net is a gaming network application that runs equally well on Windows, Linux and Mac OS X. WTFmode.net connects your Local Area Network (LAN) games to other players on the Internet."
6 arch=('i686' 'x86_64')
7 url="http://www.wtfmode.net"
8 license=('unknown')
9 depends=('qt' 'curl')
10 [ "$CARCH" == "x86_64" ] && depends=('lib32-qt' 'lib32-curl')
11 source=("http://www.wtfmode.net/static/packages/$pkgver/$pkgname-$pkgver-linux.zip")
12 md5sums=('cbcb7236c1810caa227fe2844c3f0d4e')
14 build() {
15   cd "$srcdir/WTFmode"
16   install -dm 755 "$pkgdir/opt/WTFmode"
17   install -Dm 755 WTFmode "$pkgdir/opt/WTFmode"
18   install -Dm 644 w3xp.so "$pkgdir/opt/WTFmode"
19   install -Dm 755 wtfup "$pkgdir/opt/WTFmode"
20   install -dm 755 "$pkgdir/usr/bin/"
21   ln -s /opt/WTFmode/WTFmode $pkgdir/usr/bin/
22   if [ $CARCH == 'i686' ] ; then
23     install -dm 755 "$pkgdir/usr/lib"
24     ln -s /usr/lib/libcrypto.so $pkgdir/usr/lib/libcrypto.so.10
25   else
26     install -dm 755 "$pkgdir/usr/lib32"
27     ln -s /usr/lib32/libcrypto.so $pkgdir/usr/lib32/libcrypto.so.10
28   fi
30 # vim:set ts=2 sw=2 et: