Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesS/sgml-common.git

subrepo:
  subdir:   "sgml-common"
  merged:   "3560a68"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesS/sgml-common.git"
  branch:   "master"
  commit:   "3560a68"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
6e15db325c
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      sgml-common/.artixlinux/agent.yaml
  2. 33
      sgml-common/.gitignore
  3. 12
      sgml-common/.gitrepo
  4. 3
      sgml-common/Jenkinsfile
  5. 2
      sgml-common/README.md
  6. 36
      sgml-common/repos/extra-any/PKGBUILD
  7. 14
      sgml-common/repos/extra-any/sgml-common-0.6.3-manpage-1.patch
  8. 55
      sgml-common/repos/extra-any/sgml-common.install
  9. 36
      sgml-common/trunk/PKGBUILD
  10. 14
      sgml-common/trunk/sgml-common-0.6.3-manpage-1.patch
  11. 55
      sgml-common/trunk/sgml-common.install

5
sgml-common/.artixlinux/agent.yaml

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

33
sgml-common/.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
sgml-common/.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:packagesS/sgml-common.git
branch = master
commit = 3560a68c2ed6a306dd1695ca1b805a55db08ab1f
parent = 778fe3469e7bc82d1fda4f837c852d57eeab981f
method = merge
cmdver = 0.4.0

3
sgml-common/Jenkinsfile

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

2
sgml-common/README.md

@ -0,0 +1,2 @@
# sgml-common

36
sgml-common/repos/extra-any/PKGBUILD

@ -0,0 +1,36 @@
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrew Fyfe <andrew@neptune-one.net>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname='sgml-common'
pkgver=0.6.3
pkgrel=6
pkgdesc='Tools for maintaining centralized SGML catalogs.'
arch=('any')
url='http://www.docbook.org/xml/'
license=('GPL')
install='sgml-common.install'
depends=('sh')
source=("ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-${pkgver}.tgz"
'sgml-common-0.6.3-manpage-1.patch')
sha512sums=('3c4a55f555596b2a6bf6af66c497679226e7b40625ac16832150488311cba7f9fc523435eea5837262a5517f5c09c4c0e07fe4a2cf02184d4027609c26e4bc0c'
'c584ff6e66e1d58456c07849bf96fedd3f1df0b93430f6301c4d4ab9906821dea0cbac82eada19197540b5e31f13febd04fadda5b6e2ba4b0b6ee8f0328292f7')
prepare() {
cd sgml-common-${pkgver}
patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch
}
build() {
cd sgml-common-${pkgver}
autoreconf -vfi
./configure --prefix=/usr --sysconfdir=/etc
make
}
package(){
cd sgml-common-${pkgver}
make DESTDIR="$pkgdir" docdir=/usr/share/doc install
# "$pkgdir/usr/doc" "$pkgdir/usr/share/doc"
}

14
sgml-common/repos/extra-any/sgml-common-0.6.3-manpage-1.patch

@ -0,0 +1,14 @@
Submitted By: Thomas Pegg <lnxfreak123 at insightbb dot com>
Date: 2003-11-18
Initial Package Version: 0.6.3
Origin: Thomas Pegg
Description: Fixes syntax of Makefile.am for installation of man pages,
for use with current automake versions 1.7.8 and higher.
diff -Naur sgml-common-0.6.3.orig/doc/man/Makefile.am sgml-common-0.6.3/doc/man/Makefile.am
--- sgml-common-0.6.3.orig/doc/man/Makefile.am 2001-01-30 14:42:22.000000000 +0000
+++ sgml-common-0.6.3/doc/man/Makefile.am 2003-11-18 16:48:47.000000000 +0000
@@ -1,2 +1 @@
-man8dir = $(mandir)/man8
-man8_DATA = *.8
+man_MANS = install-catalog.8

55
sgml-common/repos/extra-any/sgml-common.install

@ -0,0 +1,55 @@
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
add_catalog "${1%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
remove_catalog "${2%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
add_catalog "${1%-*}"
}
# arg 1: the old package version
pre_remove() {
remove_catalog "${1%-*}"
}
# arg 1: the old package version
post_remove() {
/bin/true
}
add_catalog() {
install-catalog --add /etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog > /dev/null 2>&1
install-catalog --add /etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat > /dev/null 2>&1
}
remove_catalog() {
install-catalog --remove /etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog > /dev/null 2>&1
install-catalog --remove /etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat > /dev/null 2>&1
}
op=$1
shift
$op "$@"
# vim:set syntax=sh ts=4 sw=4 noet:

36
sgml-common/trunk/PKGBUILD

@ -0,0 +1,36 @@
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Andrew Fyfe <andrew@neptune-one.net>
# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname='sgml-common'
pkgver=0.6.3
pkgrel=6
pkgdesc='Tools for maintaining centralized SGML catalogs.'
arch=('any')
url='http://www.docbook.org/xml/'
license=('GPL')
install='sgml-common.install'
depends=('sh')
source=("ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-${pkgver}.tgz"
'sgml-common-0.6.3-manpage-1.patch')
sha512sums=('3c4a55f555596b2a6bf6af66c497679226e7b40625ac16832150488311cba7f9fc523435eea5837262a5517f5c09c4c0e07fe4a2cf02184d4027609c26e4bc0c'
'c584ff6e66e1d58456c07849bf96fedd3f1df0b93430f6301c4d4ab9906821dea0cbac82eada19197540b5e31f13febd04fadda5b6e2ba4b0b6ee8f0328292f7')
prepare() {
cd sgml-common-${pkgver}
patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch
}
build() {
cd sgml-common-${pkgver}
autoreconf -vfi
./configure --prefix=/usr --sysconfdir=/etc
make
}
package(){
cd sgml-common-${pkgver}
make DESTDIR="$pkgdir" docdir=/usr/share/doc install
# "$pkgdir/usr/doc" "$pkgdir/usr/share/doc"
}

14
sgml-common/trunk/sgml-common-0.6.3-manpage-1.patch

@ -0,0 +1,14 @@
Submitted By: Thomas Pegg <lnxfreak123 at insightbb dot com>
Date: 2003-11-18
Initial Package Version: 0.6.3
Origin: Thomas Pegg
Description: Fixes syntax of Makefile.am for installation of man pages,
for use with current automake versions 1.7.8 and higher.
diff -Naur sgml-common-0.6.3.orig/doc/man/Makefile.am sgml-common-0.6.3/doc/man/Makefile.am
--- sgml-common-0.6.3.orig/doc/man/Makefile.am 2001-01-30 14:42:22.000000000 +0000
+++ sgml-common-0.6.3/doc/man/Makefile.am 2003-11-18 16:48:47.000000000 +0000
@@ -1,2 +1 @@
-man8dir = $(mandir)/man8
-man8_DATA = *.8
+man_MANS = install-catalog.8

55
sgml-common/trunk/sgml-common.install

@ -0,0 +1,55 @@
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
add_catalog "${1%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
remove_catalog "${2%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
add_catalog "${1%-*}"
}
# arg 1: the old package version
pre_remove() {
remove_catalog "${1%-*}"
}
# arg 1: the old package version
post_remove() {
/bin/true
}
add_catalog() {
install-catalog --add /etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog > /dev/null 2>&1
install-catalog --add /etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat > /dev/null 2>&1
}
remove_catalog() {
install-catalog --remove /etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog > /dev/null 2>&1
install-catalog --remove /etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat > /dev/null 2>&1
}
op=$1
shift
$op "$@"
# vim:set syntax=sh ts=4 sw=4 noet:
Loading…
Cancel
Save