updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hexcurse / PKGBUILD
blobfca40a0563e11a367fd4e0cf6935d7adfe04a09e
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: eric <eric@archlinux.org>
4 pkgname=hexcurse
5 pkgver=1.55
6 pkgrel=3
7 pkgdesc="Versatile ncurses-based hex editor."
8 arch=('i686' 'x86_64')
9 url="http://directory.fsf.org/project/HexCurse/"
10 license=('GPL')
11 depends=('ncurses>=5.6-7')
12 options=('!makeflags')
13 source=("http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/$pkgname-$pkgver.tar.gz" "hexcurse-alloca.patch")
14 #source=("http://www.sourcefiles.org/Editors/Hex/$pkgname-$pkgver.tar.gz")
15 md5sums=('c9f9485490300b5111aa429eabfef789' 'fb7723bff0411392fe410839f6105e4f')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   patch -p0 < ../hexcurse-alloca.patch
22   ./configure \
23         --prefix=/usr \
24         --mandir=/usr/share/man
26   make
29 package() {
30   cd "$srcdir/$pkgname-$pkgver"
32   make DESTDIR="$pkgdir/" install