summaryrefslogtreecommitdiffstats
path: root/abs/extra/most/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/most/PKGBUILD')
-rw-r--r--abs/extra/most/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/most/PKGBUILD b/abs/extra/most/PKGBUILD
new file mode 100644
index 0000000..6d91e7d
--- /dev/null
+++ b/abs/extra/most/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 144477 2011-12-06 14:33:19Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: juergen <juergen@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=most
+pkgver=5.0.0a
+pkgrel=4
+pkgdesc="A terminal pager similar to 'more' and 'less'"
+arch=('i686' 'x86_64')
+depends=('slang')
+license=('GPL')
+url="http://www.jedsoft.org/most/index.html"
+source=(ftp://space.mit.edu/pub/davis/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ most-debian.patch
+ most-leak-fd.patch)
+sha1sums=('99eedb7169754b9a47c7755ac48949d76531e3b2'
+ '937796040c69bae3bf735fa3cd734775c582e7d0'
+ 'c5713e1278febdd0ed434e6e3044feb220b5d525')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ../most-debian.patch
+ patch -Np1 -i ../most-leak-fd.patch
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR=$pkgdir install
+}