mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
892 B
Bash
26 lines
892 B
Bash
|
# $Id: PKGBUILD 35979 2009-04-19 06:36:39Z eric $
|
||
|
# Maintainer : Aaron Griffin <aaron@archlinux.org>
|
||
|
|
||
|
pkgname=valkyrie
|
||
|
pkgver=1.3.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="An open-source graphical user interface for the valgrind 3.X line"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://www.open-works.co.uk/projects/valkyrie.html"
|
||
|
license=('GPL2')
|
||
|
depends=('valgrind' 'qt3' 'libxi')
|
||
|
source=(http://valgrind.org/downloads/$pkgname-$pkgver.tar.bz2)
|
||
|
md5sums=('ec7069a23ec90670be74d3fc3a46f574')
|
||
|
|
||
|
build()
|
||
|
{
|
||
|
. /etc/profile.d/qt3.sh
|
||
|
cd $srcdir/$pkgname-$pkgver
|
||
|
./configure --prefix=/usr || return 1
|
||
|
sed -i "s|#define VK_DOC_PATH.*|#define VK_DOC_PATH \"/share/doc/valkyrie/\"|g" config.h || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=$pkgdir docdir=/usr/share/doc/valkyrie install || return 1
|
||
|
install -d $pkgdir/usr/share/doc/valkyrie/images/
|
||
|
mv $pkgdir/usr/share/doc/valkyrie/*.png $pkgdir/usr/share/doc/valkyrie/images/
|
||
|
}
|