PKGBUILDs/extra/hexcurse/PKGBUILD

23 lines
707 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $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
}