Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesO/openjade.git

subrepo:
  subdir:   "openjade"
  merged:   "fa1588f"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesO/openjade.git"
  branch:   "master"
  commit:   "fa1588f"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
master
artoo 3 months ago
parent
commit
2a63e6c3d5
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      openjade/.artixlinux/agent.yaml
  2. 33
      openjade/.gitignore
  3. 12
      openjade/.gitrepo
  4. 3
      openjade/Jenkinsfile
  5. 2
      openjade/README.md
  6. 62
      openjade/repos/extra-x86_64/PKGBUILD
  7. 23
      openjade/repos/extra-x86_64/openjade.install
  8. 62
      openjade/trunk/PKGBUILD
  9. 23
      openjade/trunk/openjade.install

5
openjade/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
openjade/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
openjade/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesO/openjade.git
branch = master
commit = fa1588fa132653027d3d5a006221d874796ab2dc
parent = 79849eb532256a940ec806cbd7f10a2b13673315
method = merge
cmdver = 0.4.3

3
openjade/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
openjade/README.md

@ -0,0 +1,2 @@
# openjade

62
openjade/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,62 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgname=openjade
pkgver=1.3.2
pkgrel=6
_debpatch=13
pkgdesc="Implementation of the DSSSL language"
arch=('x86_64')
url="http://openjade.sourceforge.net/"
license=('custom')
depends=('opensp' 'sgml-common')
makedepends=('perl-perl4-corelibs')
install=${pkgname}.install
conflicts=('jade')
provides=('jade')
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
http://ftp.debian.org/debian/pool/main/o/${pkgname}1.3/${pkgname}1.3_${pkgver}-${_debpatch}.diff.gz)
sha256sums=('1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1'
'11d90e242eae60ce06bf27fd234adbd8efd7d4a9a4a2da058faa4e8336dc423a')
prepare() {
cd ${pkgname}-$pkgver
patch -Np1 -i $srcdir/${pkgname}1.3_${pkgver}-${_debpatch}.diff
# https://bugs.archlinux.org/task/55331 / https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9
export CXXFLAGS+=' -fno-lifetime-dse'
}
build() {
cd ${pkgname}-$pkgver
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-default-catalog=/etc/sgml/catalog \
--datadir=/usr/share/sgml/openjade-${pkgver} \
--enable-html \
--enable-http \
--enable-mif
make
}
package() {
cd ${pkgname}-$pkgver
make DESTDIR="$pkgdir/" install install-man
# add unversioned symlink
ln -svf openjade-${pkgver} ${pkgdir}/usr/share/sgml/openjade
# openjade -> jade compat symlinks
ln -svf /usr/bin/openjade $pkgdir/usr/bin/jade
ln -svf /usr/lib/libogrove.so $pkgdir/usr/lib/libgrove.so
ln -svf /usr/lib/libospgrove.so $pkgdir/usr/lib/libspgrove.so
ln -svf /usr/lib/libostyle.so $pkgdir/usr/lib/libstyle.so
ln -svf /usr/share/man/man1/openjade.1.gz $pkgdir/usr/share/man/man1/jade.1.gz
# license
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
install -dm755 "$pkgdir"/usr/share/sgml/openjade-${pkgver}
install -m644 dsssl/builtins.dsl dsssl/dsssl.dtd \
dsssl/style-sheet.dtd dsssl/fot.dtd \
dsssl/catalog "$pkgdir"/usr/share/sgml/openjade-${pkgver}
}

23
openjade/repos/extra-x86_64/openjade.install

@ -0,0 +1,23 @@
post_install() {
/usr/bin/install-catalog --add \
/etc/sgml/openjade-1.3.2.cat \
/usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>&1
/usr/bin/install-catalog --add \
/etc/sgml/openjade.cat \
/etc/sgml/openjade-1.3.2.cat > /dev/null 2>&1
}
post_upgrade() {
post_install $1
}
post_remove() {
/usr/bin/install-catalog --remove \
/etc/sgml/openjade-1.3.2.cat \
/usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>&1
/usr/bin/install-catalog --remove \
/etc/sgml/openjade.cat \
/etc/sgml/openjade-1.3.2.cat > /dev/null 2>&1
}

62
openjade/trunk/PKGBUILD

@ -0,0 +1,62 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgname=openjade
pkgver=1.3.2
pkgrel=6
_debpatch=13
pkgdesc="Implementation of the DSSSL language"
arch=('x86_64')
url="http://openjade.sourceforge.net/"
license=('custom')
depends=('opensp' 'sgml-common')
makedepends=('perl-perl4-corelibs')
install=${pkgname}.install
conflicts=('jade')
provides=('jade')
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
http://ftp.debian.org/debian/pool/main/o/${pkgname}1.3/${pkgname}1.3_${pkgver}-${_debpatch}.diff.gz)
sha256sums=('1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1'
'11d90e242eae60ce06bf27fd234adbd8efd7d4a9a4a2da058faa4e8336dc423a')
prepare() {
cd ${pkgname}-$pkgver
patch -Np1 -i $srcdir/${pkgname}1.3_${pkgver}-${_debpatch}.diff
# https://bugs.archlinux.org/task/55331 / https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9
export CXXFLAGS+=' -fno-lifetime-dse'
}
build() {
cd ${pkgname}-$pkgver
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-default-catalog=/etc/sgml/catalog \
--datadir=/usr/share/sgml/openjade-${pkgver} \
--enable-html \
--enable-http \
--enable-mif
make
}
package() {
cd ${pkgname}-$pkgver
make DESTDIR="$pkgdir/" install install-man
# add unversioned symlink
ln -svf openjade-${pkgver} ${pkgdir}/usr/share/sgml/openjade
# openjade -> jade compat symlinks
ln -svf /usr/bin/openjade $pkgdir/usr/bin/jade
ln -svf /usr/lib/libogrove.so $pkgdir/usr/lib/libgrove.so
ln -svf /usr/lib/libospgrove.so $pkgdir/usr/lib/libspgrove.so
ln -svf /usr/lib/libostyle.so $pkgdir/usr/lib/libstyle.so
ln -svf /usr/share/man/man1/openjade.1.gz $pkgdir/usr/share/man/man1/jade.1.gz
# license
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
install -dm755 "$pkgdir"/usr/share/sgml/openjade-${pkgver}
install -m644 dsssl/builtins.dsl dsssl/dsssl.dtd \
dsssl/style-sheet.dtd dsssl/fot.dtd \
dsssl/catalog "$pkgdir"/usr/share/sgml/openjade-${pkgver}
}

23
openjade/trunk/openjade.install

@ -0,0 +1,23 @@
post_install() {
/usr/bin/install-catalog --add \
/etc/sgml/openjade-1.3.2.cat \
/usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>&1
/usr/bin/install-catalog --add \
/etc/sgml/openjade.cat \
/etc/sgml/openjade-1.3.2.cat > /dev/null 2>&1
}
post_upgrade() {
post_install $1
}
post_remove() {
/usr/bin/install-catalog --remove \
/etc/sgml/openjade-1.3.2.cat \
/usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>&1
/usr/bin/install-catalog --remove \
/etc/sgml/openjade.cat \
/etc/sgml/openjade-1.3.2.cat > /dev/null 2>&1
}
Loading…
Cancel
Save