diff --git a/debian/control b/debian/control index 81bcb18..26f3218 100644 --- a/debian/control +++ b/debian/control @@ -9,6 +9,8 @@ Homepage: http://www.nongnu.org/lzip/lzip.html Package: lzd Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} +Breaks: lzip (<< 1.15~) +Provides: lzip-alternative Description: Educational, lossless data compressor based on the LZMA algorithm Lzip is a lossless data compressor based on the LZMA algorithm, with very safe integrity checking and a user interface similar to the one of gzip or bzip2. diff --git a/debian/rules b/debian/rules index 76be7af..e3c3416 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,11 @@ override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd + # alternative handling + mv debian/lzd/usr/bin/lzd debian/lzd/usr/bin/lzip.educational-decompressor + + ln -s /usr/bin/lzip.educational-decompressor debian/lzd/usr/bin/lzd + override_dh_builddeb: dh_builddeb -- -Zxz