[Git][java-team/zip4j][master] 3 commits: Adding a watch file (not tested yet).

Andrius Merkys gitlab at salsa.debian.org
Thu May 23 06:45:29 BST 2019



Andrius Merkys pushed to branch master at Debian Java Maintainers / zip4j


Commits:
b17bb589 by Andrius Merkys at 2019-05-23T05:43:00Z
Adding a watch file (not tested yet).

- - - - -
ebedb1b6 by Andrius Merkys at 2019-05-23T05:43:24Z
Adding repack script (not tested yet).

- - - - -
b0f07381 by Andrius Merkys at 2019-05-23T05:44:01Z
Adding ITP bug number.

- - - - -


3 changed files:

- debian/changelog
- + debian/repack.sh
- + debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,5 @@
 zip4j (1.3.3+ds-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #929421)
 
  -- Andrius Merkys <merkys at debian.org>  Thu, 23 May 2019 01:19:51 -0400


=====================================
debian/repack.sh
=====================================
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+JAR="$1"
+PKG_NAME=$(basename ${JAR} .jar)
+REPKG_NAME=$(basename ${PKG_NAME} -sources | sed 's/-/_/g')+ds.orig.tar.gz
+
+TMPDIR=$(mktemp -d)
+
+cp ${JAR} ${TMPDIR}
+
+(
+    cd ${TMPDIR}
+    jar xf $(basename ${JAR})
+    mkdir --parents zip4j/src/main/java
+    mv net zip4j/src/main/java
+    tar -cvzf ${REPKG_NAME} zip4j
+)
+
+cp ${TMPDIR}/${REPKG_NAME} .
+rm -rf ${TMPDIR}


=====================================
debian/watch
=====================================
@@ -0,0 +1,4 @@
+version=4
+opts="dversionmangle=s/\+ds$//,repacksuffix=+ds" \
+ http://central.maven.org/maven2/net/lingala/zip4j/zip4j/(\d.*)/ \
+ zip4j-([\d\.]+)-sources.jar debian sh debian/repack.sh



View it on GitLab: https://salsa.debian.org/java-team/zip4j/compare/9e305db7b7c9a4f8baed56faaf8bfe7c366f684a...b0f0738149e881961dc65724a5622fac5372dbcd

-- 
View it on GitLab: https://salsa.debian.org/java-team/zip4j/compare/9e305db7b7c9a4f8baed56faaf8bfe7c366f684a...b0f0738149e881961dc65724a5622fac5372dbcd
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190523/4fabe1fa/attachment.html>


More information about the pkg-java-commits mailing list