updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ps3 / PKGBUILD
blob174a095fdeef03ae08cd68ef102616960ae493e0
1 ##
2 # Maintainer: Todd Harbour <aur @AT@ quadronyx .DOT. org>
3 # Comments: 
4 # Binary version available from: http://www.quadronyx.org/aur/
5 ##
7 pkgname=ps3
8 pkgver=0.3.0
9 pkgrel=3
10 pkgdesc="A utility for monitoring process activity (think top) in a 3D bar chart"
11 arch=('i686')
12 depends=(
13         'libpng'
14         'sdl'
15         'mesa'
16         'libgl'
18 url="http://user.tninet.se/~uhu537u/"
19 license='unknown'
21 source=(
22         "http://user.tninet.se/~uhu537u/${pkgname}-${pkgver}.tar.bz2"
23         'ps3'
24         'png_lib_fix.patch'
27 md5sums=(
28         '00bda637cb9f360c008f46701c52b855'
29         'eceaaca7b108de01af985b0e5a512a50'
30         '910e6bb24a806d2f1d68e7fec84c5a6f'
33 build() {
34         cd "${srcdir}/${pkgname}-${pkgver}/"
35         patch -p0 <"${srcdir}/png_lib_fix.patch"
36         make || return 1
37         mkdir -p "${pkgdir}/usr/bin/" || return 1
38         install -m 755 -o root -g root \
39                 "${pkgname}" "${pkgdir}/usr/bin/ps3-bin" || return 1
40         install -m 755 -o root -g root \
41                 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/" || return 1
42         mkdir -p "${pkgdir}/usr/share/${pkgname}"
43         cp -r font "${pkgdir}/usr/share/${pkgname}/font"