diff options
author | Max Rees <maxcrees@me.com> | 2020-06-03 19:18:15 -0500 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-06-03 19:18:15 -0500 |
commit | ece3f250cb6b04116158698c6aab2bf06bb1b929 (patch) | |
tree | 6bfd0d5f07db45f1c011c18ed53e356b7e68bdf2 /user/mtools/APKBUILD | |
parent | 7f27f31b4e106b1b2b36f54e38ff491afa098d1f (diff) | |
download | packages-ece3f250cb6b04116158698c6aab2bf06bb1b929.tar.gz packages-ece3f250cb6b04116158698c6aab2bf06bb1b929.tar.bz2 packages-ece3f250cb6b04116158698c6aab2bf06bb1b929.tar.xz packages-ece3f250cb6b04116158698c6aab2bf06bb1b929.zip |
user/mtools: new package
Diffstat (limited to 'user/mtools/APKBUILD')
-rw-r--r-- | user/mtools/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/mtools/APKBUILD b/user/mtools/APKBUILD new file mode 100644 index 000000000..34b0b8730 --- /dev/null +++ b/user/mtools/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=mtools +pkgver=4.0.24 +pkgrel=0 +pkgdesc="Utilities to access MS-DOS disks without mounting them" +url="https://www.gnu.org/software/mtools/" +arch="all" +options="!check" # No test suite. +license="GPL-3.0+" +depends="" +makedepends="" +subpackages="$pkgname-doc" +source="https://ftp.gnu.org/gnu/mtools/mtools-$pkgver.tar.bz2" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$pkgdir" install + install -Dm644 -t "$pkgdir"/etc mtools.conf + sed -i -e 's/^SAMPLE FILE$/#&/' "$pkgdir"/etc/mtools.conf +} + +sha512sums="b74becc4f696315cfabc016d1746e744b43e366de73bf1bffeec4fbab1e4815967594de8acb4af01f89d36a925f93672efbac205b89540161bd53ab7edebcf04 mtools-4.0.24.tar.bz2" |