31 lines
848 B
Bash
31 lines
848 B
Bash
# 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
|
|
}
|