Skip to content
Snippets Groups Projects
Commit 516b836f authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- add architecture placeholder

parent d0c615ba
No related branches found
No related tags found
No related merge requests found
...@@ -72,9 +72,10 @@ package-debian-job: ...@@ -72,9 +72,10 @@ package-debian-job:
- ${VERAPDF_UNZIP_DIR}/verapdf-install "${AUTO_INSTALL_XML_PATH}" - ${VERAPDF_UNZIP_DIR}/verapdf-install "${AUTO_INSTALL_XML_PATH}"
# test call verapdf # test call verapdf
- ${INSTALL_PATH_VERAPDF_DEB}/verapdf --version | grep "${VERAPDF_VERSION}" - ${INSTALL_PATH_VERAPDF_DEB}/verapdf --version | grep "${VERAPDF_VERSION}"
# retrieve version infos # retrieve or set additional version infos
- REVISION="1" - REVISION="1"
- ARCHITECTURE="all" - ARCHITECTURE="all"
- VERSION="${VERAPDF_VERSION}"
# create build dir structure # create build dir structure
- DEB_BUILD_DIR="verapdf_${VERAPDF_VERSION}-${REVISION}_${ARCHITECTURE}" - DEB_BUILD_DIR="verapdf_${VERAPDF_VERSION}-${REVISION}_${ARCHITECTURE}"
- mkdir -p ${DEB_BUILD_DIR}/DEBIAN - mkdir -p ${DEB_BUILD_DIR}/DEBIAN
...@@ -86,7 +87,8 @@ package-debian-job: ...@@ -86,7 +87,8 @@ package-debian-job:
- ln -s "${INSTALL_PATH_VERAPDF_DEB}/verapdf" "${DEB_BUILD_DIR}/usr/local/bin/verapdf" - ln -s "${INSTALL_PATH_VERAPDF_DEB}/verapdf" "${DEB_BUILD_DIR}/usr/local/bin/verapdf"
- ln -s "${INSTALL_PATH_VERAPDF_DEB}/verapdf-gui" "${DEB_BUILD_DIR}/usr/local/bin/verapdf-gui" - ln -s "${INSTALL_PATH_VERAPDF_DEB}/verapdf-gui" "${DEB_BUILD_DIR}/usr/local/bin/verapdf-gui"
# create deb control file from template # create deb control file from template
- sed "s#VERSION_PLACEHOLDER#${VERAPDF_VERSION}-${REVISION}#g" gitlab-ci/verapdf.control > "${DEB_BUILD_DIR}/DEBIAN/control" - sed "s#VERSION_PLACEHOLDER#${VERSION}-${REVISION}#g" gitlab-ci/verapdf.control > "${DEB_BUILD_DIR}/DEBIAN/control"
- sed -i "s#ARCHITECTURE_PLACEHOLDER#${ARCHITECTURE_PLACEHOLDER}#g" "${DEB_BUILD_DIR}/DEBIAN/control"
# add checksums # add checksums
- pushd ${DEB_BUILD_DIR} - pushd ${DEB_BUILD_DIR}
- find * -type f -not -path 'DEBIAN/*' -exec md5sum \{\} \; | sort -k2 > DEBIAN/md5sums - find * -type f -not -path 'DEBIAN/*' -exec md5sum \{\} \; | sort -k2 > DEBIAN/md5sums
......
Package: verapdf Package: verapdf
Version: VERSION_PLACEHOLDER Version: VERSION_PLACEHOLDER
Architecture: all Architecture: ARCHITECTURE_PLACEHOLDER
Maintainer: SLUBArchiv.digital <langzeitarchiv@slub-dresden.de> Maintainer: SLUBArchiv.digital <langzeitarchiv@slub-dresden.de>
Description: veraPDF is a purpose-built, open source, file-format validator covering all PDF/A and PDF/UA parts and conformance levels. Description: veraPDF is a purpose-built, open source, file-format validator covering all PDF/A and PDF/UA parts and conformance levels.
Homepage: https://git.slub-dresden.de/digital-preservation/verapdf_package_build Homepage: https://git.slub-dresden.de/digital-preservation/verapdf_package_build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment