blob: 757c7b7cddcdc599b53b99301abbbda4c9130968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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' 'mips64el')
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"
}
|