summaryrefslogtreecommitdiff
path: root/extra/most/PKGBUILD
blob: 0cea2771272126623ccb8315e0c3b0cc11ffb3b2 (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
# $Id: PKGBUILD 125648 2011-05-27 17:52:54Z stephane $
# Maintainer: juergen <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=most
pkgver=5.0.0a
pkgrel=3
pkgdesc="A terminal pager similar to 'more' and 'less'"
arch=('i686' 'x86_64')
depends=('slang')
license=('GPL')
url="ftp://space.mit.edu/pub/davis/most/"
source=(ftp://space.mit.edu/pub/davis/${pkgname}/${pkgname}-${pkgver}.tar.gz most-debian.patch)
sha1sums=('99eedb7169754b9a47c7755ac48949d76531e3b2'
          '937796040c69bae3bf735fa3cd734775c582e7d0')


build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i ../most-debian.patch
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=$pkgdir install
}