updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ipe7 / PKGBUILD
blobc4daa910da512a5f39a7946cf91c8e6293d9390b
1 #Contributor: Dmitriy Morozov <archlinux@foxcub.org>
3 pkgname=ipe7
4 _pkgname=ipe
5 pkgver=7.0.4
6 pkgrel=1
7 pkgdesc="The Ipe extensible drawing editor"
8 url="http://tclab.kaist.ac.kr/ipe/"
9 depends=('lua' 'qt' 'freetype2' 'zlib')
10 arch=('i686' 'x86_64')
11 license="GPL"
12 conflicts=('ipe')
13 # ftiversion_=20080517
14 # ptiversion_=20070509
15 source=(http://downloads.sourceforge.net/project/$pkgname/$_pkgname/$_pkgname-$pkgver-src.tar.gz config.patch)
16 md5sums=('56b88a5f4c69bd13cef2927481109196'
17          '8755874d2569ab2b01696062850d655e')
19 build() {
20  # Build Ipe
21  cd $startdir/src/$_pkgname-$pkgver/src
22  patch config.mak < $startdir/src/config.patch
24  make IPEPREFIX=/usr
25  INSTALL_ROOT=$startdir/pkg make install IPEPREFIX=/usr
27  # Make QVoronoi Ipelet
28  # cd $startdir/src/$pkgname-$pkgnamever/src/ipelets/qvoronoi
29  # qmake IPEPREFIX=/usr INCLUDEPATH+=/usr/include/qhull
30  # make || return 1
31  # INSTALL_ROOT=$startdir/pkg make install
33  # # Build figtoipe
34  # cd $startdir/src/figtoipe-$ftiversion_
35  # make || return 1
36  # cp figtoipe $startdir/pkg/usr/bin
38  # # Build pdftoipe
39  # cd $startdir/src/pdftoipe-$ptiversion_
40  # qmake
41  # make || return 1
42  # cp pdftoipe $startdir/pkg/usr/bin
43