mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 20:09:06 +08:00
30 lines
834 B
Bash
30 lines
834 B
Bash
pkgname=dosfstools
|
|
pkgver=4.1
|
|
pkgrel=1
|
|
pkgdesc="DOS filesystem utilities."
|
|
arch=('x86_64')
|
|
depends=('glibc')
|
|
url="https://github.com/dosfstools/dosfstools"
|
|
license=('GPL2')
|
|
options=('docs')
|
|
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=('e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173'
|
|
'SKIP')
|
|
validpgpkeys=('25714AECDBFDACEE1CE95FE77F6022516E869F64') # Andreas Bombe
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--sbindir=/usr/bin \
|
|
--mandir=/usr/share/man \
|
|
--docdir=/usr/share/doc/${pkgname} \
|
|
--enable-compat-symlinks
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make DESTDIR=$pkgdir install
|
|
}
|