generated by the mkdeb.sh script. Cosmetic changes in the latter.
+++ /dev/null
-Package: selector
-Version: 1.0
-Priority: optional
-Maintainer: Francois Fleuret <francois@fleuret.org>
-Architecture: i386
-Depends: libncurses5, libstdc++6, libc6, libgcc1
-Description: A command line dynamic string-matching.
 
 #!/bin/bash
 
+# Depends: ${shlibs:Depends}
+
 #
 #  selector is a simple shell command for selection of strings with a
 #  dynamic pattern-matching.
 # probably not very conventional. I am open to suggestions.
 
 VERSION=1.0
+PACKAGE=/tmp/selector_${VERSION}_i386.deb
 
 make -k
 
 cp ./selector.1 ${TMP}/usr/share/man/man1
 gzip ${TMP}/usr/share/man/man1/selector.1
 
-dpkg-deb --build ${TMP} /tmp/selector_${VERSION}_i386.deb
+dpkg-deb --build ${TMP} ${PACKAGE}
+
+dpkg --contents ${PACKAGE}
 
 rm -rf ${TMP}