updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hexer / PKGBUILD
blobc7763d8b981834c170f0a9c9528d962b872ade23
1 # Current maintainer: Magnus Therning <magnus@therning.org>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
4 pkgname=hexer
5 pkgver=0.1.5
6 pkgrel=3
7 pkgdesc="A multi buffer editor for binary files with vi-like interface"
8 arch=('i686' 'x86_64')
9 url="http://devel.ringlet.net/"
10 license=('custom')
11 depends=('ncurses')
12 source=(http://devel.ringlet.net/editors/$pkgname/$pkgname-$pkgver.tar.gz)
13 changelog=$pkgname.changelog
15 build() {
16     cd $srcdir/$pkgname-$pkgver
18     cp config.{linux,h}
19     sed -i "s_/usr/local_/usr_" Makefile
20     sed -i "s_/man/_/share/man/_" Makefile
21     make
24 package() {
25     cd $srcdir/$pkgname-$pkgver
27     install -m755 -d $pkgdir/usr/{bin,share/man/man1}
28     make DESTDIR=$pkgdir install
29     install -m644 -D COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYING
32 sha256sums=('bd171b4ee4c678f5c545fda1431aebbea01acff9d4bc2adbbb8584a8b2d31a02')