blob: 0b9a5e728ce6aac9cc433ff621b3789ef0785faf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
pkgver=3.0.24
pkgrel=1
pkgdesc="DOS filesystem utilities"
url="http://www.daniel-baumann.ch/software/dosfstools/"
arch="all"
license="GPL3+"
depends=""
makedepends="libiconv-dev"
subpackages="$pkgname-doc"
source="http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$pkgver.tar.xz
dosfstools-loff_and_BLOCK_SIZE.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
make OPTFLAGS="$CFLAGS" LDFLAGS="-liconv $LDFLAGS" || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" \
PREFIX=/usr \
MANDIR=/usr/share/man \
DOCDIR=/usr/share/doc \
install || return 1
}
md5sums="41931f36ebee6e79e9dafe85cc916f2b dosfstools-3.0.24.tar.xz
66da181b7245895aac09f51902dcedcb dosfstools-loff_and_BLOCK_SIZE.patch"
sha256sums="1e21b7e7c8872fb3debf2a7fdc8c223a5f592a6efa8ae181a92f558ed28274c1 dosfstools-3.0.24.tar.xz
f9d313d3204c5b2b2a9a9ccb2906cd29aa17f66daa710c8f3358adc6e081479d dosfstools-loff_and_BLOCK_SIZE.patch"
sha512sums="9e75e3868f42d4cb404998e8a0cd7d3bc7fe4fc0cf68559644c960fe73e7f0eb67c26ff169085c9e1858e5402efed813b883a5f3682aea29e4d0fc9c9142a006 dosfstools-3.0.24.tar.xz
7d36320e31502fb977f8f589b0b35a7c4b9358e08bd77852f516a0421a60ebce9190134d22f0d857146de701b1c5655e62b8ae643f87d9e8a09cc41b1fdf742c dosfstools-loff_and_BLOCK_SIZE.patch"
|