updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / qlprism / PKGBUILD
blob8a0dd488cfed17d0bcf2be08427a8eae8f6b3da9
1 # Maintainer: Ole Bergmann <ole@ole.im>
3 pkgname=qlprism
4 pkgver=4.34
5 pkgrel=2
6 pkgdesc="Lightweight Quake Live stand-alone launcher based on Mozilla Lab's Prism"
7 arch=("i686" "x86_64")
8 url="http://www.qlprism.us/"
9 license=("custom")
10 depends=(gtk2)
12 source=(
13  "http://avalon.diatonic.net/$pkgname-$pkgver-linux-$CARCH.tar.gz"
14  "qlprism"
17 md5sums=(
18  "d71fcde6122d0154a23408f74ac21944"
19  "45e3bec19c31ab355b5296aefd35e9f2"
22 [[ "${CARCH}" == i686 ]] && md5sums[0]="77fd311e486a11db701d2c385edb69a4"
23 [[ "${CARCH}" == x86_64 ]] && depends+=(lib32-gtk2 lib32-libxdamage lib32-libxt lib32-pcre)
25 package () {
26   install -dm755 "$pkgdir"/opt
27   cp -r qlprism-"$CARCH" "$pkgdir"/opt/"$pkgname"
28   chgrp -R games "$pkgdir"/opt/"$pkgname"
29   install -Dm755 qlprism "$pkgdir"/usr/bin/qlprism