APKBUILD 646 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
3
pkgver=3.0.13
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=
Natanael Copa's avatar
Natanael Copa committed
10 11
makedepends=""
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
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="c1d851e3fc065a935c7cf919545d239f  dosfstools_3.0.13.orig.tar.xz"