PKGBUILDs/community/ht/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
786 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: tardo <tardo@nagi-fanboi.net>
# Contributor: Simon Morgan <"mra84964@mra.pb.hx".decode('rot-13')>
pkgname=ht
pkgver=2.0.16
pkgrel=1
pkgdesc="A file editor/viewer/analyzer for executables"
arch=('i686' 'x86_64')
url="http://hte.sourceforge.net/"
license=('GPL')
depends=('gcc' 'ncurses')
source=(http://downloads.sourceforge.net/sourceforge/hte/$pkgname-$pkgver.tar.gz)
md5sums=('ace67fa5512f9308acb5b61ca47be905')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --disable-x11-textmode --enable-release --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
# avoid TeX conflict
mv $pkgdir/usr/bin/ht $pkgdir/usr/bin/hte
}