new: more package migrations

This commit is contained in:
ngn
2024-07-20 22:52:09 +03:00
parent 983ddd9a38
commit e46f384f6c
69 changed files with 727 additions and 0 deletions

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

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

View File

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

25
src/dosfstools/pkg.sh Normal file
View File

@ -0,0 +1,25 @@
# general info
NAME="dosfstools"
DESC="Utilities for use with the FAT family of file systems"
VERSION="4.2"
# required files
FILES=("https://github.com/dosfstools/dosfstools/releases/download/v${VERSION}/dosfstools-${VERSION}.tar.gz")
HASHES=("49c8e457327dc61efab5b115a27b087a")
# install and build depends
DEPENDS=("glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--enable-compat-symlinks \
--mandir=/usr/share/man \
--docdir="/usr/share/doc/dosfstools-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}