new: migrate more packages
This commit is contained in:
3
src/less/.gitignore
vendored
Normal file
3
src/less/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/less/changes.md
Normal file
2
src/less/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 661
|
||||
First version
|
23
src/less/pkg.sh
Normal file
23
src/less/pkg.sh
Normal file
@ -0,0 +1,23 @@
|
||||
# general info
|
||||
NAME="less"
|
||||
DESC="Free, open-source file pager"
|
||||
VERSION="661"
|
||||
|
||||
# required files
|
||||
FILES=("https://www.greenwoodsoftware.com/less/less-${VERSION}.tar.gz")
|
||||
HASHES=("2b5f0167216e3ef0ffcb0c31c374e287eb035e4e223d5dae315c2783b6e738ed")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc" "pcre2" "ncurses")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
Reference in New Issue
Block a user