summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9ba2f5402d56759b978c4834b42e1b2925184296 (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
28
29
30
31
32
33
34
35
# Maintainer: SpepS <dreamspepser at yahoo dot it>
# Contributor: eric <eric@archlinux.org>

pkgname=hexcurse
pkgver=1.55
pkgrel=3
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")
#source=("http://www.sourcefiles.org/Editors/Hex/$pkgname-$pkgver.tar.gz")
md5sums=('c9f9485490300b5111aa429eabfef789'
         'fb7723bff0411392fe410839f6105e4f')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  patch -p0 < ../hexcurse-alloca.patch

  ./configure \
	--prefix=/usr \
	--mandir=/usr/share/man

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}