blob: 22753f8337786c879a63c40a5b86bf8caba3cbe4 (
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
37
38
39
40
41
42
43
44
45
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=dosfstools-git
pkgver=4.2.r42.g58212c5
pkgrel=1
pkgdesc="DOS filesystem utilities"
arch=('i686' 'x86_64')
url="https://github.com/dosfstools/dosfstools"
license=('GPL3')
depends=('glibc')
makedepends=('git')
provides=("dosfstools=$pkgver")
conflicts=('dosfstools')
source=("git+https://github.com/dosfstools/dosfstools.git")
sha256sums=('SKIP')
pkgver() {
cd "dosfstools"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "dosfstools"
./autogen.sh
./configure \
--prefix="/usr" \
--sbindir="/usr/bin" \
--enable-compat-symlinks
make
}
check() {
cd "dosfstools"
#make check
}
package() {
cd "dosfstools"
make DESTDIR="$pkgdir" install
}
|