[jts] 09/13: Remove debian/unpack-source-jars.
Bas Couwenberg
sebastic at debian.org
Sun Dec 10 22:55:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch experimental
in repository jts.
commit ae4fbec6fca3cef76303e59cef1878383273bff1
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Dec 10 22:22:36 2017 +0100
Remove debian/unpack-source-jars.
---
debian/unpack-source-jars | 66 -----------------------------------------------
1 file changed, 66 deletions(-)
diff --git a/debian/unpack-source-jars b/debian/unpack-source-jars
deleted file mode 100755
index de36d8b..0000000
--- a/debian/unpack-source-jars
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Version 3: "script --upstream-version version ../spkg_version.orig.tar.gz"
-# Version 4: "script --upstream-version version"
-
-OPTION=$1
-VERSION=$2
-FILE=$3
-
-if [ ! -r $FILE ]; then
- echo "Cannot read file: $FILE"
- exit 1
-fi
-
-ZIPFILE=$(readlink -f ${FILE})
-
-CURDIR=$(pwd)
-
-NAME=$(dpkg-parsechangelog | awk '/^Source/ { print $2 }')
-
-PACKAGE=$NAME
-
-DEBIANDIR=$(readlink -f $(dirname $0))
-PACKAGEDIR=$(readlink -f $(dirname ${DEBIANDIR}))
-PARENTDIR=$(readlink -f $(dirname ${PACKAGEDIR}))
-
-TMPDIR=$(mktemp -d)
-
-cd ${TMPDIR}
-
-TARDIR=${NAME}-${VERSION}
-
-JTSJAR=${TARDIR}/lib/jts-${VERSION}-sources.jar
-JTSDIR=${TARDIR}/src
-
-JTSIOJAR=${TARDIR}/lib/jtsio-${VERSION}-sources.jar
-JTSIODIR=${TARDIR}/jtsio/src
-
-unzip -q ${ZIPFILE} -d ${TARDIR}
-
-mkdir -p ${JTSDIR}
-unzip -q ${JTSJAR} -d ${JTSDIR}
-
-mkdir -p ${JTSIODIR}
-unzip -q ${JTSIOJAR} -d ${JTSIODIR}
-
-rm -rf ${TARDIR}/jtsio/doc/javadoc/*
-rm -rf ${TARDIR}/doc/javadoc/*
-rm -rf ${TARDIR}/doc/*.pdf
-rm -rf ${TARDIR}/lib/*
-
-ORIGTARFILE="${PACKAGE}_${VERSION}+ds.orig.tar.gz"
-
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf ${ORIGTARFILE} "${TARDIR}"
-
-mv ${ORIGTARFILE} ${PARENTDIR}
-
-rm -rf ${TARDIR}
-cd ${CURDIR}
-rm -rf ${TMPDIR}
-
-echo "Unpacked source JARs in ../${ORIGTARFILE}"
-
-exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/jts.git
More information about the Pkg-grass-devel
mailing list