diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-15 21:35:07 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-15 21:35:07 -0300 |
commit | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (patch) | |
tree | fb2047cbeaa71fabba55e68dc8f5d4838fb5018c /extra/xfig/PKGBUILD | |
parent | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (diff) | |
parent | b90f83b99150003a2022c3a4bbad90b12eb56b7e (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'extra/xfig/PKGBUILD')
-rw-r--r-- | extra/xfig/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/xfig/PKGBUILD b/extra/xfig/PKGBUILD index cfbb4d3b2..cf25f6713 100644 --- a/extra/xfig/PKGBUILD +++ b/extra/xfig/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 155348 2012-04-02 00:26:21Z eric $ +# $Id: PKGBUILD 184453 2013-05-06 19:40:21Z foutrelis $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=xfig pkgver=3.2.5b -pkgrel=8 +pkgrel=9 pkgdesc="An interactive drawing tool" arch=('i686' 'x86_64' 'mips64el') url="http://www.xfig.org/userman/" @@ -31,8 +31,8 @@ sha1sums=('0730d7e6bc217c0de02682efb0078821512bb542' '31edf4cfab708820ea3f114d095dfef5aa88e5aa' '9011b8fa6143e37525b28cc9800a3bf2d6b008d2') -build() { - cd "${srcdir}/${pkgname}.${pkgver}" +prepare() { + cd ${pkgname}.${pkgver} patch -p1 < ../xfig-3.2.4-redhat.patch patch -p1 < ../xfig-3.2.5-fhs.patch patch -p1 < ../xfig.3.2.5-modularX.patch @@ -43,13 +43,16 @@ build() { patch -p1 < ../xfig-3.2.5b-libpng-1.5.patch sed -i 's/#define XAW3D/XCOMM #define XAW3D/' Imakefile chmod 755 Libraries +} +build() { + cd ${pkgname}.${pkgver} xmkmf make DOCDIR=/usr/share/doc } package() { - cd "${srcdir}/${pkgname}.${pkgver}" + cd ${pkgname}.${pkgver} make DESTDIR="${pkgdir}" DOCDIR=/usr/share/doc install.all rm "${pkgdir}/usr/lib/X11/app-defaults" |