summaryrefslogtreecommitdiff
path: root/core/dosfstools/MAKEPKG
blob: 7d0c6d6cdff89c54a0f540d22c2edd967abf9ab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/mkpkg
# description: FAT filesystem utilities
# url: https://github.com/dosfstools/dosfstools

name=dosfstools
version=4.2
release=2
source=(https://github.com/dosfstools/dosfstools/releases/download/v$version/$name-$version.tar.gz)

sha256sums=(
    "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
)

build() {
    cd $name-$version
    ./configure --prefix=/ --bindir=/bin --sbindir=/sbin --mandir=/usr/share/man
    make
    make install DESTDIR=$PKG

    rm -rf $PKG/share

    ln -s fsck.fat $PKG/sbin/fsck.msdos
    ln -s fsck.fat $PKG/sbin/fsck.vfat
    ln -s mkfs.fat $PKG/sbin/mkfs.msdos
    ln -s mkfs.fat $PKG/sbin/mkfs.vfat
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh