diff options
Diffstat (limited to 'extra/xfig/PKGBUILD')
-rw-r--r-- | extra/xfig/PKGBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/xfig/PKGBUILD b/extra/xfig/PKGBUILD index 548e94fab..c6a91bc2d 100644 --- a/extra/xfig/PKGBUILD +++ b/extra/xfig/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 194017 2013-09-10 00:31:09Z eric $ +# $Id: PKGBUILD 204604 2014-01-24 03:48:01Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=xfig pkgver=3.2.5c -pkgrel=1 +pkgrel=2 pkgdesc="An interactive drawing tool" arch=('i686' 'x86_64' 'mips64el') url="http://www.xfig.org/userman/" @@ -13,21 +13,24 @@ 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-urwfonts.patch \ +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-urwfonts.patch xfig-fix_dash_list_for_different_styles.patch LICENSE) sha1sums=('47d31dd9ad46819732ab74db340e11489db2c646' '926ad99c7221baa4aa9e9737722958860b2700fc' '45e7fb80193825b088d798089aeade2e1729c9ac' 'e595ccdbe293ea0fdecbf59a2192ae57ced2c8eb' + '6aa98ab4497c30d18b4d0599f9d943bf78991246' '31edf4cfab708820ea3f114d095dfef5aa88e5aa') prepare() { cd ${pkgname}.${pkgver} - patch -p1 < ../xfig-3.2.4-redhat.patch - patch -p1 < ../xfig-3.2.5-color-resources.patch - patch -p1 < ../xfig-3.2.5-urwfonts.patch + patch -p1 -i "${srcdir}/xfig-3.2.4-redhat.patch" + patch -p1 -i "${srcdir}/xfig-3.2.5-color-resources.patch" + patch -p1 -i "${srcdir}/xfig-3.2.5-urwfonts.patch" + patch -p1 -i "${srcdir}/xfig-fix_dash_list_for_different_styles.patch" + sed -i -e 's|X11R6/||' -e 's|image/x-xfig|image/fig;image/x-xfig|' xfig.desktop echo -e "Categories=Application;Graphics;\nIcon=xfig" >> xfig.desktop sed -i 's/#define XAW3D/XCOMM #define XAW3D/' Imakefile |