37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
|
#!/usr/bin/bash
|
||
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||
|
|
||
|
pkgname=less
|
||
|
pkgver=590
|
||
|
pkgrel=01
|
||
|
epoch=1
|
||
|
pkgdesc='A terminal based program for viewing text files'
|
||
|
arch=('x86_64')
|
||
|
url='https://www.greenwoodsoftware.com/less/'
|
||
|
depends=('glibc' 'ncurses' 'pcre2')
|
||
|
source=("https://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz"
|
||
|
"$pkgname-$pkgver.tar.gz.sig::https://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.sig")
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname-$pkgver
|
||
|
sh configure --prefix=/usr --sysconfdir=/etc --with-regex=pcre2
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-$pkgver
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|
||
|
|
||
|
#---- license gpg-key sha256sums ----
|
||
|
|
||
|
license=('GPL3')
|
||
|
|
||
|
validpgpkeys=('AE27252BD6846E7D6EAE1DD6F153A7C833235259') # Mark Nudelman
|
||
|
|
||
|
sha256sums=(6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10 # less-590.tar.gz
|
||
|
0fe49b62d3437400d232eb290ef4757c41a43dd390c99528d8bb777aee53b557) # less-590.tar.gz.sig
|