fix: add sgml-common install script
This commit is contained in:
parent
8f32c501e3
commit
a52ed8d9fb
@ -8,6 +8,7 @@ FILES=(
|
|||||||
)
|
)
|
||||||
HASHES=(
|
HASHES=(
|
||||||
"2666d1488d6ced1551d15f31d7ed8c38"
|
"2666d1488d6ced1551d15f31d7ed8c38"
|
||||||
|
"62375ca864fc198cb2b17d98209d0b8c"
|
||||||
"a92c39715c54949ba9369add1809527b8f155b7e2a2b2e30cb4b39ee715f2e30"
|
"a92c39715c54949ba9369add1809527b8f155b7e2a2b2e30cb4b39ee715f2e30"
|
||||||
)
|
)
|
||||||
DEPENDS=("libxml2" "docbook-xml")
|
DEPENDS=("libxml2" "docbook-xml")
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
|
# 2.44.0
|
||||||
|
Updated to a newer upstream release
|
||||||
|
|
||||||
# 2.41.0
|
# 2.41.0
|
||||||
First version
|
First version
|
||||||
|
@ -2,14 +2,8 @@ NAME="git"
|
|||||||
DESC="Free and open source, distributed version control system"
|
DESC="Free and open source, distributed version control system"
|
||||||
VERSION="2.44.0"
|
VERSION="2.44.0"
|
||||||
|
|
||||||
FILES=(
|
FILES=("https://www.kernel.org/pub/software/scm/git/git-${VERSION}.tar.xz")
|
||||||
"https://www.kernel.org/pub/software/scm/git/git-${VERSION}.tar.xz"
|
HASHES=("7e4eb7c45e9ba7c90fa51deeea49732f")
|
||||||
"https://www.kernel.org/pub/software/scm/git/git-manpages-${VERSION}.tar.xz"
|
|
||||||
)
|
|
||||||
HASHES=(
|
|
||||||
"7e4eb7c45e9ba7c90fa51deeea49732f"
|
|
||||||
"bc7a4c944492c76fc3cd766ce22e826d0241e43792c611d4fdc068e0df545877"
|
|
||||||
)
|
|
||||||
|
|
||||||
DEPENDS=(
|
DEPENDS=(
|
||||||
"curl" "expat" "grep"
|
"curl" "expat" "grep"
|
||||||
@ -25,11 +19,10 @@ PACKAGE() {
|
|||||||
--with-gitconfig=/etc/gitconfig \
|
--with-gitconfig=/etc/gitconfig \
|
||||||
--with-python=python3
|
--with-python=python3
|
||||||
make
|
make
|
||||||
make DESTDIR="${ROOTDIR}" perllibdir="/usr/lib/perl5/5.38/site_perl" install
|
make man
|
||||||
|
|
||||||
install -Ddm755 "${ROOTDIR}/usr/share/man"
|
make DESTDIR="${ROOTDIR}" perllibdir="/usr/lib/perl5/5.38/site_perl" install
|
||||||
tar -xf "../git-manpages-${VERSION}.tar.xz" \
|
make DESTDIR="${ROOTDIR}" install-man
|
||||||
-C "${ROOTDIR}/usr/share/man" --no-same-owner --no-overwrite-dir
|
|
||||||
|
|
||||||
cd .. && rm -rf "${NAME}-${VERSION}"
|
cd .. && rm -rf "${NAME}-${VERSION}"
|
||||||
}
|
}
|
||||||
|
@ -25,11 +25,23 @@ PACKAGE() {
|
|||||||
make DESTDIR="${ROOTDIR}" install
|
make DESTDIR="${ROOTDIR}" install
|
||||||
make DESTDIR="${ROOTDIR}" docdir="/usr/share/doc" install
|
make DESTDIR="${ROOTDIR}" docdir="/usr/share/doc" install
|
||||||
|
|
||||||
install-catalog --add "/etc/sgml/sgml-ent.cat" \
|
|
||||||
"${ROOTDIR}/usr/share/sgml/sgml-iso-entities-8879.1986/catalog"
|
|
||||||
|
|
||||||
install-catalog --add "/etc/sgml/sgml-docbook.cat" \
|
|
||||||
"${ROOTDIR}/etc/sgml/sgml-ent.cat"
|
|
||||||
|
|
||||||
cd .. && rm -rf ${NAME}-${VERSION}
|
cd .. && rm -rf ${NAME}-${VERSION}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
INSTALL(){
|
||||||
|
# remove old catalogs
|
||||||
|
install-catalog --remove /etc/sgml/sgml-ent.cat \
|
||||||
|
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||||
|
|
||||||
|
install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
||||||
|
/etc/sgml/sgml-ent.cat
|
||||||
|
|
||||||
|
# install new ones
|
||||||
|
install-catalog --add /etc/sgml/sgml-ent.cat \
|
||||||
|
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
||||||
|
|
||||||
|
install-catalog --add /etc/sgml/sgml-docbook.cat \
|
||||||
|
/etc/sgml/sgml-ent.cat
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
@ -12,6 +12,7 @@ PACKAGE() {
|
|||||||
tar xf "${NAME}-${VERSION}.tar.bz2"
|
tar xf "${NAME}-${VERSION}.tar.bz2"
|
||||||
cd "${NAME}-${VERSION}"
|
cd "${NAME}-${VERSION}"
|
||||||
|
|
||||||
|
export CFLAGS="${CFLAGS} -std=gnu89"
|
||||||
LINKS="/usr/bin/links" ./configure --prefix=/usr
|
LINKS="/usr/bin/links" ./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make DESTDIR="${ROOTDIR}" install
|
make DESTDIR="${ROOTDIR}" install
|
||||||
|
Loading…
Reference in New Issue
Block a user