diff options
Diffstat (limited to 'core/dosfstools/MAKEPKG')
| -rw-r--r-- | core/dosfstools/MAKEPKG | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/core/dosfstools/MAKEPKG b/core/dosfstools/MAKEPKG new file mode 100644 index 0000000..7d0c6d6 --- /dev/null +++ b/core/dosfstools/MAKEPKG @@ -0,0 +1,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 |
