diff --git a/xxd/.footprint b/xxd/.footprint index aa5365f45..ccaab50ca 100644 --- a/xxd/.footprint +++ b/xxd/.footprint @@ -3,4 +3,4 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/xxd drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ --r--r--r-- root/root usr/man/man1/xxd.1.gz +-rw-r--r-- root/root usr/man/man1/xxd.1.gz diff --git a/xxd/Pkgfile b/xxd/Pkgfile index 97955639b..0ef2818a1 100644 --- a/xxd/Pkgfile +++ b/xxd/Pkgfile @@ -1,5 +1,5 @@ # Description: xxd creates a hex dump of a given file or standard input. -# URL: +# URL: N/A # Maintainer: Tilman Sauerbeck tilman at code-monkey dot de name=xxd @@ -7,13 +7,12 @@ version=1.10 release=1 source=(http://grail.cba.csuohio.edu/~somos/$name-$version.tar.gz) -build () { +build() { cd $name-$version + make - mkdir -p $PKG/usr/bin - mkdir -p $PKG/usr/man/man1 - - cp xxd $PKG/usr/bin - cp xxd.1 $PKG/usr/man/man1 + install -d $PKG/usr/{bin,man/man1} + install -m 755 xxd $PKG/usr/bin + install -m 644 xxd.1 $PKG/usr/man/man1 }