mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
27 lines
759 B
Bash
27 lines
759 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=less
|
|
pkgver=443
|
|
pkgrel=2
|
|
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' 'pcre')
|
|
source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('47db098fb3cdaf847b3c4be05ee954fc')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --with-regex=pcre
|
|
make || return 1
|
|
make prefix=$pkgdir/usr install
|
|
install -dm755 $pkgdir/bin
|
|
mv $pkgdir/usr/bin/$pkgname $pkgdir/bin/
|
|
}
|