diff options
Diffstat (limited to 'extra/transfig')
-rw-r--r-- | extra/transfig/ChangeLog | 36 | ||||
-rw-r--r-- | extra/transfig/LICENSE | 23 | ||||
-rw-r--r-- | extra/transfig/PKGBUILD | 36 |
3 files changed, 95 insertions, 0 deletions
diff --git a/extra/transfig/ChangeLog b/extra/transfig/ChangeLog new file mode 100644 index 000000000..c303c33c0 --- /dev/null +++ b/extra/transfig/ChangeLog @@ -0,0 +1,36 @@ +2010-05-26 Jan de Groot <jgc@archlinux.org> + * transfig 3.2.5c-3 + * Rebuilt for libpng 1.4.2, png_set_dither has been renamed + +2010-01-27 Eric Belanger <eric@archlinux.org> + + * transfig 3.2.5c-2 + * Rebuilt for libpng 1.4 and libjpeg 8 + +2010-01-11 Eric Belanger <eric@archlinux.org> + + * transfig 3.2.5c-1 + * Upstream update + * Removed force option + +2009-08-12 Eric Belanger <eric@archlinux.org> + + * transfig 3.2.5a-1 + * Upstream update + * Added force option + +2009-03-21 Eric Belanger <eric@archlinux.org> + + * transfig 3.2.5-2 + * Removed uneeded stderr message (close FS#13825) + +2008-12-14 Eric Belanger <eric@archlinux.org> + + * transfig 3.2.5-1 + * Upstream update + * Added arch tag + * Added license + * Added imake makedepends + * Added man pages + * Removed old patches + * Added ChangeLog diff --git a/extra/transfig/LICENSE b/extra/transfig/LICENSE new file mode 100644 index 000000000..b944bb992 --- /dev/null +++ b/extra/transfig/LICENSE @@ -0,0 +1,23 @@ +/* + * TransFig: Facility for Translating Fig code + * Copyright (c) 1991 by Micah Beck + * Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul + * + * Any party obtaining a copy of these files is granted, free of charge, a + * full and unrestricted irrevocable, world-wide, paid up, royalty-free, + * nonexclusive right and license to deal in this software and + * documentation files (the "Software"), including without limitation the + * rights to use, copy, modify, merge, publish and/or distribute copies of + * the Software, and to permit persons who receive copies from any such + * party to do so, with the only requirement being that this copyright + * notice remain intact. + * + */ + +THE LAWRENCE BERKELEY NATIONAL LABORATORY DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/extra/transfig/PKGBUILD b/extra/transfig/PKGBUILD new file mode 100644 index 000000000..5bbf5be0e --- /dev/null +++ b/extra/transfig/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 81063 2010-05-26 10:19:14Z jgc $ +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=transfig +pkgver=3.2.5c +pkgrel=3 +pkgdesc="Format conversion utility that can be used with xfig" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.xfig.org" +license=('custom') +depends=('libpng' 'libxpm') +makedepends=('imake') +source=(http://downloads.sourceforge.net/mcj/${pkgname}.${pkgver}.tar.gz LICENSE) +md5sums=('0cc55ed6b4ae67a3e610e501acd694f9' 'a0b2ea903821c46dbc77afefc06d1aa4') +sha1sums=('20013b350e81400943cd91744173445d7bd4d98e' 'b8b712871615308b8b6add92f86d218437d652f2') + +build() { + cd ${srcdir}/${pkgname}.${pkgver} + sed -i 's/XCOMM USELATEX2E = -DLATEX2E/USELATEX2E = -DLATEX2E/' transfig/Imakefile || return 1 + sed -i 's/XCOMM USEINLINE = -DUSE_INLINE/USEINLINE = -DUSE_INLINE/' fig2dev/Imakefile || return 1 + + xmkmf || return 1 + make FIG2DEV_LIBDIR=/usr/share/fig2dev Makefiles || return 1 + make FIG2DEV_LIBDIR=/usr/share/fig2dev XFIGLIBDIR=/usr/share/xfig || return 1 +} + +package() { + cd ${srcdir}/${pkgname}.${pkgver} + + make DESTDIR=${pkgdir} XFIGLIBDIR=/usr/share/xfig \ + FIG2DEV_LIBDIR=/usr/share/fig2dev MANPATH=/usr/share/man \ + install install.man || return 1 + install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 +} |