new: migrate more packages

This commit is contained in:
ngn
2024-07-24 22:09:01 +03:00
parent 07d499fef5
commit a7dfd49ab5
36 changed files with 380 additions and 0 deletions

3
src/less/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/less/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 661
First version

23
src/less/pkg.sh Normal file
View 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}"
}