PKGBUILDs/extra/hexcurse/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
707 B
Bash

# $Id: PKGBUILD 9816 2008-08-19 05:02:59Z eric $
# Maintainer: eric <eric@archlinux.org>
pkgname=hexcurse
pkgver=1.55
pkgrel=2
pkgdesc="Versatile ncurses-based hex editor."
arch=('i686' 'x86_64')
url="http://directory.fsf.org/project/HexCurse/"
license=('GPL')
depends=('ncurses>=5.6-7')
options=('!makeflags')
source=(http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/$pkgname-$pkgver.tar.gz hexcurse-alloca.patch)
md5sums=('c9f9485490300b5111aa429eabfef789' 'fb7723bff0411392fe410839f6105e4f')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p0 < ../hexcurse-alloca.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=$startdir/pkg install
}