summaryrefslogtreecommitdiff
path: root/xxd/Pkgfile
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-04-08 15:07:48 +0000
committerTilman Sauerbeck <tilman@code-monkey.de>2006-04-08 15:07:48 +0000
commit18a0c42a724cf181fdecaf57272fa878d291ee7b (patch)
treef6ea16c5ee974a2d773510c0ae33050139c77618 /xxd/Pkgfile
parent363dceba9a1b139e47e1e7ba7e51d95811f59d3f (diff)
downloadopt-18a0c42a724cf181fdecaf57272fa878d291ee7b.tar.gz
opt-18a0c42a724cf181fdecaf57272fa878d291ee7b.tar.xz
xxd: cleanup
Diffstat (limited to 'xxd/Pkgfile')
-rw-r--r--xxd/Pkgfile13
1 files changed, 6 insertions, 7 deletions
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
+ make
- 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
}

Generated by cgit