## page was renamed from HenriLeFoll/Tricks/Packaging/Trivial/Text ## page was renamed from Packaging/Trivial/Text <> Here I use dh_make. But for simple packages it is best to use equivs ! = Description = create a package containing one text file : package-trivial.txt if you have trouble see [[HenriLeFoll/Tricks/Packaging/Trivial]] = Details = == step 1 : create the source package and build it == * 1 - create a directory for the package : package-trivial-1.0 * 2 - create a file : package-trivial.txt * 3 - create the source package with [[dh_make]] -s -n * 4 - remove all the files which can be removed from the debian directory * 5 - modify the files in the debian directory * 6 - build the package with [[dpkg-buildpackage]] -rfakeroot == step 2 : test it with lintian == * 7 - test it with lintian * 8 - install the package * 9 - find the file : package-trivial.txt = Solution = == step 1 : create the source package and build it == * 4 - remove all the files which can be removed from the debian directory {{{#!highlight console numbers=disable $package-trivial-1.0/debian$ rm -fr *.ex *.EX R* }}}