aboutsummaryrefslogtreecommitdiffstats
path: root/main/dosfstools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/dosfstools/APKBUILD')
-rw-r--r--main/dosfstools/APKBUILD29
1 files changed, 9 insertions, 20 deletions
diff --git a/main/dosfstools/APKBUILD b/main/dosfstools/APKBUILD
index 35e184f374..e56b121a9c 100644
--- a/main/dosfstools/APKBUILD
+++ b/main/dosfstools/APKBUILD
@@ -1,30 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
-pkgver=4.1
-pkgrel=1
+pkgver=4.2
+pkgrel=0
pkgdesc="DOS filesystem utilities"
url="https://github.com/dosfstools/dosfstools"
arch="all"
license="GPL-3.0-or-later"
-depends=""
makedepends="linux-headers autoconf automake libtool"
subpackages="$pkgname-doc"
-source="https://github.com/dosfstools/dosfstools/releases/download/v$pkgver/dosfstools-$pkgver.tar.xz
- "
+source="https://github.com/dosfstools/dosfstools/releases/download/v$pkgver/dosfstools-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- autoreconf -vif
+ default_prepare
+ ./autogen.sh
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,14 +24,12 @@ build() {
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-nls \
- --enable-compat-symlinks \
- || return 1
- make || return 1
+ --enable-compat-symlinks
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-sha512sums="e7a8aab34255d15e6865a7b031971352af1255134fab83389673bcc3cbd6ba255241bd2429070aeb4b927f8d7d73ccf1aeafe94566b133e88e7586897c317b78 dosfstools-4.1.tar.xz"
+sha512sums="3cc0808edb4432428df8a67da4bb314fd1f27adc4a05754c1a492091741a7b6875ebd9f6a509cc4c5ad85643fc40395b6e0cadee548b25cc439cc9b725980156 dosfstools-4.2.tar.gz"