APKBUILD 986 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
3
pkgver=3.0.15
4
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="DOS filesystem utilities"
url="http://www.daniel-baumann.ch/software/dosfstools/"
7
arch="all"
Natanael Copa's avatar
Natanael Copa committed
8
license="GPL-2"
9
depends=
10
makedepends="libiconv-dev"
Natanael Copa's avatar
Natanael Copa committed
11
subpackages="$pkgname-doc"
12
source="http://ftp.de.debian.org/debian/pool/main/d/$pkgname/${pkgname}_${pkgver}.orig.tar.xz"
Natanael Copa's avatar
Natanael Copa committed
13 14

build() { 
15
	cd "$srcdir"/$pkgname-$pkgver
16
	make OPTFLAGS="$CFLAGS" LDFLAGS="-liconv $LDFLAGS" || return 1
17 18 19 20
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
21 22 23 24 25
	make PREFIX="$pkgdir" \
		MANDIR="$pkgdir"/usr/share/man \
		DOCDIR="$pkgdir"/usr/share/doc \
		install
}
26 27 28
md5sums="64d2020bd8e92105dfad30feee72a3ec  dosfstools_3.0.15.orig.tar.xz"
sha256sums="bbbeabd630f20c9d10592b2cc974926b15e8e010e29d49f308d5464528e2dfc1  dosfstools_3.0.15.orig.tar.xz"
sha512sums="3b18601cfbea254c2f650f1b65caf08d4bcc8a08c6812802898afed93e70652f7cd2d93a5e83d836ffe2f5563b5c067c784dddd7fdd643879143a3c7d00e296d  dosfstools_3.0.15.orig.tar.xz"