summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/less/PKGBUILD
blob: b703def0a075745d247ec94c69c6b84d00301a26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=less
pkgver=418
pkgrel=10
pkgdesc="A terminal based program for viewing text files"
license=('GPL3')
arch=('i686' 'x86_64')
url="http://www.greenwoodsoftware.com/less"
groups=('base')
depends=('ncurses' 'file')
source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('b5864d76c54ddf4627fd57ab333c88b4')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
  cd $startdir/pkg/usr/bin/
  mkdir -p ../../bin
  mv $pkgname ../../bin/
}