48 lines
1.6 KiB
Bash
48 lines
1.6 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=dosfstools
|
|
pkgver=4.2
|
|
pkgrel=05
|
|
pkgdesc="DOS filesystem utilities"
|
|
depends=('glibc')
|
|
source=(https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.sig}
|
|
$pkgname-reproducible-mkfs.patch::https://github.com/dosfstools/dosfstools/commit/8da7bc93315cb0c32ad868f17808468b81fa76ec.patch)
|
|
url="https://github.com/dosfstools/dosfstools"
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
patch -Np1 -i ${srcdir}/$pkgname-reproducible-mkfs.patch
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --libexecdir=/usr/lib \
|
|
--sbindir=/usr/bin --mandir=/usr/share/man \
|
|
--docdir=/usr/share/doc/dosfstools --enable-compat-symlinks
|
|
make
|
|
}
|
|
|
|
package () {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL-3.0-or-later')
|
|
|
|
validpgpkeys=('25714AECDBFDACEE1CE95FE77F6022516E869F64') # Andreas Bombe
|
|
|
|
sha256sums=(64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527 # dosfstools-4.2.tar.gz
|
|
90f58a303fd7c55e02370357054f7207f05c3736f23d9a82cfb4a10acd7d55f9 # dosfstools-4.2.tar.gz.sig
|
|
b9953dde3d755a6e9a31a28e2a7aebccd0b5ed9bcc664893bd55290945589b5b) # dosfstools-reproducible-mkfs.patch
|
|
|
|
## ba7ce08681a2c74916a88682fa6fe6f82e1b8551a892982af05f5d55ec1117cc dosfstools-4.2-05-x86_64.pkg.tar.lz
|
|
|