updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / binkplayer / PKGBUILD
blob03917ffa172cfef3b4810a037a62fe77622f637e
1 # Contributor: Hugo Lobo <hugo_alobo@hotmailcom>
3 pkgname=binkplayer
4 pkgver=1.99n
5 pkgrel=1
6 pkgdesc="Bink Video Player"
7 url="http://www.radgametools.com"
8 source=(http://www.radgametools.com/down/Bink/BinkLinuxPlayer.rar)
9 md5sums=('f1eded88c73eaae11cfdd98abccdeca1')
10 license=('custom')
11 arch=('i686' 'x86_64')
12 makedepends=('unrar')
14 if [ "$CARCH" = "x86_64" ]; then
15 depends=('lib32-sdl_mixer')
16 else
17 depends=('sdl_mixer')
20 build() {
21   unrar e "${startdir}/src/BinkLinuxPlayer.rar"
22   mkdir -p "${startdir}/pkg/usr/bin"
23   cp "${startdir}/src/BinkPlayer" "${startdir}/pkg/usr/bin/binkplayer"
24   chmod +x "${startdir}/pkg/usr/bin/binkplayer"