mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
37 lines
929 B
Bash
37 lines
929 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Sander Jansen <sander@knology.net>
|
|
|
|
pkgname=fxprocessview
|
|
pkgver=0.5.0
|
|
pkgrel=2
|
|
pkgdesc="Process Viewer"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
depends=('fox>=1.4.0')
|
|
url="http://code.google.com/p/fxdesktop/"
|
|
source=(http://archlinux-stuff.googlecode.com/files/$pkgname-$pkgver.tar.gz \
|
|
build-fix.patch)
|
|
md5sums=('5d3cc8d7aec770997c281a743ddfda5a'
|
|
'2d2c3d54dcd2404149955f12cccb21a5')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
# Override default flags
|
|
export CFLAGS="-Wall -O2 -pipe"
|
|
export CXXFLAGS="-Wall -O2 -pipe"
|
|
|
|
# Compile
|
|
patch -Np1 <../build-fix.patch || return 1
|
|
./gb
|
|
|
|
# gb does not return valid error code
|
|
[ -f src/fxprocessview ] || return 1
|
|
|
|
# make sure destination exists
|
|
mkdir -p $startdir/pkg/usr/bin
|
|
|
|
# Install
|
|
./gb install --package-root=$startdir/pkg/usr
|
|
}
|