PKGBUILDs/extra/potracegui/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
786 B
Bash

# $Id: PKGBUILD 6642 2008-07-26 02:16:19Z eric $
# Contributor : Damir Perisa <damir.perisa@bluewin.ch>
# Maintainer: damir <damir@archlinux.org>
pkgname=potracegui
pkgver=1.3.4
pkgrel=2
pkgdesc="Frontend for potrace"
arch=('i686' 'x86_64')
url="http://potracegui.sourceforge.net/"
license=('GPL')
depends=('potrace' 'kdelibs3')
makedepends=('autotrace')
source=(http://downloads.sourceforge.net/sourceforge/potracegui/$pkgname-$pkgver.tar.gz potracegui-gcc43.diff)
md5sums=('42786aa55ae3a7d5510d2f045f06191d' 'a8feec8cbcf51f0c5444235095aaa184')
build() {
cd $startdir/src/$pkgname-$pkgver
. /etc/profile.d/kde3.sh
patch -p0 < ../potracegui-gcc43.diff || return 1
./configure --prefix=/opt/kde --without-arts
make || return 1
make prefix=$startdir/pkg/opt/kde install
}