mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Giovanni Scafora <linuxmania@gmail.com>
|
|
|
|
pkgname=driconf
|
|
pkgver=0.9.1
|
|
pkgrel=2
|
|
pkgdesc="A graphical configuration tool for the Direct Rendering Infrastructure"
|
|
arch=('i686' 'x86_64')
|
|
url="http://dri.freedesktop.org/wiki/DriConf"
|
|
license=('GPL')
|
|
depends=('pygtk' 'pyxml' 'expat' 'xorg-utils')
|
|
source=(http://people.freedesktop.org/~fxkuehl/$pkgname/$pkgname-$pkgver.tar.gz driconf.desktop drilogo.png)
|
|
md5sums=('76d610bcd56aa5e8a489debb5081178a' 'd621b89ad6a623fa5828c05ab585dcb1'\
|
|
'b34317c8c3b70fa278c9992b8077092d')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
sed -i -e "s:/usr/local/lib/driconf:$startdir/pkg/usr/lib/driconf:g" -e "s:/usr/local:$startdir/pkg/usr:g" setup.cfg
|
|
sed -i -e "s:local/::" driconf
|
|
sed -i -e "s:/usr/local:/usr:g" setup.py
|
|
sed -i -e "s:/usr/local:/usr:g" driconf_commonui.py
|
|
python setup.py install
|
|
install -Dm644 ../$pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop
|
|
install -Dm644 ../drilogo.png $startdir/pkg/usr/share/pixmaps/drilogo.png
|
|
}
|