blob: 61c446a3e34c17c7e257e8037e12d5be4cc65a5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $Id: PKGBUILD 150527 2012-02-18 12:08:07Z pierre $
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=jade
pkgver=1.2.1
pkgrel=7
_debpatch=47
pkgdesc="James Clark's DSSSL Engine"
url='http://www.jclark.com/jade/'
arch=('i686' 'x86_64')
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")
md5sums=('4239670ca6b578bff68b8c2e7cd1225f'
'feb3889e2a5fa86ac6bdb742a25d0001')
build() {
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 -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|