diff --git a/less/PKGBUILD b/less/PKGBUILD new file mode 100644 index 0000000..3f30e9d --- /dev/null +++ b/less/PKGBUILD @@ -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 +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 +}