summaryrefslogtreecommitdiff
path: root/community/dhex
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/dhex
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/dhex')
-rw-r--r--community/dhex/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/dhex/PKGBUILD b/community/dhex/PKGBUILD
new file mode 100644
index 000000000..d9c0213a3
--- /dev/null
+++ b/community/dhex/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 76254 2012-09-15 09:07:29Z aginiewicz $
+# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
+
+pkgname=dhex
+pkgver=0.68
+pkgrel=1
+pkgdesc="An ncurses-based hexeditor with a diff mode"
+arch=('i686' 'x86_64')
+url="http://www.dettus.net/dhex/"
+license=('GPL')
+depends=('ncurses')
+source=("http://www.dettus.net/dhex/${pkgname}_${pkgver}.tar.gz")
+md5sums=('5109b3d50053553e41d75c8e5c0a0175')
+
+build() {
+ cd "${srcdir}/${pkgname}_${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}_${pkgver}"
+ install -d "${pkgdir}"/usr/{bin,share}
+ install -d "${pkgdir}"/usr/man/man{1,5}
+ make DESTDIR="${pkgdir}/usr" install
+ mv "${pkgdir}/usr/man" "${pkgdir}/usr/share/man"
+}
+