less 661-1
This commit is contained in:
parent
5ea16ad124
commit
0a4b6715cc
30
less/PKGBUILD
Normal file
30
less/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||||
|
# then please put 'unknown'.
|
||||||
|
|
||||||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
|
pkgname=less
|
||||||
|
pkgver=661
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A terminal based program for viewing text files"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://www.greenwoodsoftware.com/less/"
|
||||||
|
license=('GPL-3.0-or-later' 'BSD-2-Clause')
|
||||||
|
depends=('glibc' 'ncurses')
|
||||||
|
source=(https://www.greenwoodsoftware.com/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||||
|
sha256sums=(2b5f0167216e3ef0ffcb0c31c374e287eb035e4e223d5dae315c2783b6e738ed)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
${CONFIGURE} --sysconfdir=/etc
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user