APKBUILD 635 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
3 4
pkgver=3.0.10
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="DOS filesystem utilities"
url="http://www.daniel-baumann.ch/software/dosfstools/"
Natanael Copa's avatar
Natanael Copa committed
7
arch="x86 x86_64"
Natanael Copa's avatar
Natanael Copa committed
8
license="GPL-2"
9
depends=
Natanael Copa's avatar
Natanael Copa committed
10 11 12 13 14
makedepends=""
subpackages="$pkgname-doc"
source="http://www.daniel-baumann.ch/software/$pkgname/$pkgname-$pkgver.tar.bz2"

build() { 
15
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
16
	make || 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
md5sums="be73c6077cc5f784f0bb4d3901c88792  dosfstools-3.0.10.tar.bz2"