summaryrefslogtreecommitdiff
path: root/extra/xfig/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfig/PKGBUILD')
-rw-r--r--extra/xfig/PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/extra/xfig/PKGBUILD b/extra/xfig/PKGBUILD
index 4a8b245c9..cfbb4d3b2 100644
--- a/extra/xfig/PKGBUILD
+++ b/extra/xfig/PKGBUILD
@@ -1,28 +1,27 @@
-# $Id: PKGBUILD 148664 2012-02-05 11:46:09Z ibiru $
+# $Id: PKGBUILD 155348 2012-04-02 00:26:21Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=xfig
pkgver=3.2.5b
-pkgrel=7
+pkgrel=8
pkgdesc="An interactive drawing tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfig.org/userman/"
license=('custom')
-depends=('libpng' 'libjpeg' 'xaw3d>=1.6' 'libxi' 'desktop-file-utils' 'gsfonts' 'libxpm')
+depends=('libpng' 'libjpeg' 'libxaw' 'libxi' 'desktop-file-utils' 'gsfonts')
makedepends=('imake')
optdepends=('transfig: to use the frontend to convert fig files')
options=('!makeflags' '!emptydirs')
install=xfig.install
source=(http://downloads.sourceforge.net/mcj/${pkgname}.${pkgver}.full.tar.gz \
xfig-3.2.4-redhat.patch xfig-3.2.5-color-resources.patch \
- xfig-3.2.5-enable-Xaw3d.patch xfig-3.2.5-urwfonts.patch \
+ xfig-3.2.5-urwfonts.patch \
xfig-3.2.5-fhs.patch xfig-3.2.5-missing-protos.patch \
xfig.3.2.5-modularX.patch xfig-3.2.5b-fix-eps-reading.patch \
xfig-3.2.5b-libpng-1.5.patch LICENSE xfig.desktop)
sha1sums=('0730d7e6bc217c0de02682efb0078821512bb542'
'926ad99c7221baa4aa9e9737722958860b2700fc'
'b7c03fb70066ff476a4039a8c0f8930c15edef68'
- '33bff26b42ce164e79de11808b5b34b363f0d59f'
'e595ccdbe293ea0fdecbf59a2192ae57ced2c8eb'
'39bec6bac9746b643b05fd1286826113ede07ff6'
'bd76cd50be6a5789cfd6f182309cfd7056be04f3'
@@ -37,12 +36,12 @@ build() {
patch -p1 < ../xfig-3.2.4-redhat.patch
patch -p1 < ../xfig-3.2.5-fhs.patch
patch -p1 < ../xfig.3.2.5-modularX.patch
- patch -p1 < ../xfig-3.2.5-enable-Xaw3d.patch
patch -p1 < ../xfig-3.2.5-color-resources.patch
patch -p1 < ../xfig-3.2.5-urwfonts.patch
patch -p1 < ../xfig-3.2.5-missing-protos.patch
patch -p1 < ../xfig-3.2.5b-fix-eps-reading.patch
patch -p1 < ../xfig-3.2.5b-libpng-1.5.patch
+ sed -i 's/#define XAW3D/XCOMM #define XAW3D/' Imakefile
chmod 755 Libraries
xmkmf