summaryrefslogtreecommitdiff
path: root/extra/jade
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-13 22:36:49 +0000
committerroot <root@rshg047.dnsready.net>2011-05-13 22:36:49 +0000
commit2c4629f613c001fd29740d0f4c0e497c771a2182 (patch)
treeddc90e9111a5137677fd53e503992fd12a661ac0 /extra/jade
parent1982ae8d63ab142a2a16bdf1b055110d9c9f40fd (diff)
Fri May 13 22:36:49 UTC 2011
Diffstat (limited to 'extra/jade')
-rw-r--r--extra/jade/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/extra/jade/PKGBUILD b/extra/jade/PKGBUILD
index de49761b0..e86498343 100644
--- a/extra/jade/PKGBUILD
+++ b/extra/jade/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 102540 2010-12-07 23:38:21Z andrea $
+# $Id: PKGBUILD 123729 2011-05-12 20:42:42Z andrea $
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=jade
pkgver=1.2.1
-pkgrel=5
+pkgrel=6
_debpatch=47
pkgdesc="James Clark's DSSSL Engine"
url='http://www.jclark.com/jade/'
@@ -14,24 +14,28 @@ license=('custom')
depends=('gcc-libs')
replaces=('openjade')
options=('!libtool' '!makeflags')
-source=(ftp://ftp.jclark.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz
- http://ftp.debian.org/debian/pool/main/j/jade/jade_${pkgver}-${_debpatch}.diff.gz)
+source=("ftp://ftp.jclark.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "http://ftp.debian.org/debian/pool/main/j/jade/jade_${pkgver}-${_debpatch}.diff.gz")
md5sums=('4239670ca6b578bff68b8c2e7cd1225f'
'feb3889e2a5fa86ac6bdb742a25d0001')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i ${srcdir}/jade_${pkgver}-${_debpatch}.diff
+ cd "${srcdir}"/${pkgname}-${pkgver}
+
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
+
+ patch -p1 -i "${srcdir}"/jade_${pkgver}-${_debpatch}.diff
+
chmod 755 configure
./configure --prefix=/usr --enable-default-catalog=/usr/share/sgml/catalog
+
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- install -d -m755 ${pkgdir}/usr/lib
- make prefix=${pkgdir}/usr install
- mv ${pkgdir}/usr/bin/sx ${pkgdir}/usr/bin/sgml2xml
- install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
- install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ install -d -m755 "${pkgdir}"/usr/lib
+ make prefix="${pkgdir}"/usr install
+ mv "${pkgdir}"/usr/bin/sx "${pkgdir}"/usr/bin/sgml2xml
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}