diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-06-04 00:17:24 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-06-04 00:17:24 +0000 |
commit | 66892fd2f8db09adc76395892ab69ba08914cd21 (patch) | |
tree | 6bfd0d5f07db45f1c011c18ed53e356b7e68bdf2 /user/mtools/APKBUILD | |
parent | 7f27f31b4e106b1b2b36f54e38ff491afa098d1f (diff) | |
parent | ece3f250cb6b04116158698c6aab2bf06bb1b929 (diff) | |
download | packages-66892fd2f8db09adc76395892ab69ba08914cd21.tar.gz packages-66892fd2f8db09adc76395892ab69ba08914cd21.tar.bz2 packages-66892fd2f8db09adc76395892ab69ba08914cd21.tar.xz packages-66892fd2f8db09adc76395892ab69ba08914cd21.zip |
Merge branch 'new/mtools' into 'master'
user/mtools: new package
See merge request adelie/packages!455
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" |