In some cases this will introduce cycles which could likely be cleaned up by only depending on some unix tools instead of the whole autotools. Rebuilding doesn't make much sense at this point since it just adds a subset of base-devel which is still installed by default.
33 lines
998 B
Bash
33 lines
998 B
Bash
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
|
|
|
pkgname=less
|
|
pkgver=590
|
|
pkgrel=1
|
|
pkgdesc="A terminal based program for viewing text files"
|
|
license=('GPL3')
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.greenwoodsoftware.com/less"
|
|
depends=('ncurses' 'libpcre')
|
|
makedepends=('ncurses-devel' 'pcre-devel' 'autotools')
|
|
source=("http://www.greenwoodsoftware.com/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
# pgp check still fails with FAILED (unknown public key F153A7C833235259)
|
|
# "$pkgname-$pkgver.tar.gz.sig::http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.sig")
|
|
sha256sums=('6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10')
|
|
# 'SKIP')
|
|
validpgpkeys=('AE27252BD6846E7D6EAE1DD6F153A7C833235259') # Mark Nudelman
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure \
|
|
--build=${CHOST} \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-regex=pcre
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|