summaryrefslogtreecommitdiff
path: root/extra/jade/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/jade/PKGBUILD')
-rw-r--r--extra/jade/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/extra/jade/PKGBUILD b/extra/jade/PKGBUILD
index 8c5652ff8..f5cdb38b7 100644
--- a/extra/jade/PKGBUILD
+++ b/extra/jade/PKGBUILD
@@ -1,39 +1,39 @@
-# $Id: PKGBUILD 161891 2012-06-16 05:10:30Z eric $
+# $Id: PKGBUILD 197761 2013-10-29 19:12:18Z eric $
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=jade
pkgver=1.2.1
-pkgrel=8.1
-_debpatch=47.1
+pkgrel=9
+_debpatch=47.3
pkgdesc="James Clark's DSSSL Engine"
url='http://www.jclark.com/jade/'
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('gcc-libs')
replaces=('openjade')
-options=('!libtool' '!makeflags')
+options=('!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")
md5sums=('4239670ca6b578bff68b8c2e7cd1225f'
- '6c9c0109e3b6d283cb7a18ec8a672575')
-
-build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- export CXXFLAGS="$CXXFLAGS -fpermissive"
+ 'dc50fb2aad40ad4b26373953805fe4fc')
+prepare() {
+ cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/jade_${pkgver}-${_debpatch}.diff
+}
+build() {
+ cd ${pkgname}-${pkgver}
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
chmod 755 configure
./configure --prefix=/usr --enable-default-catalog=/usr/share/sgml/catalog
-
make
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
install -d -m755 "${pkgdir}"/usr/lib
make prefix="${pkgdir}"/usr install
mv "${pkgdir}"/usr/bin/sx "${pkgdir}"/usr/bin/sgml2xml