summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07e8c16eaeb769e2b7c30ce11a121e00c1b1ee03 (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.1.r86.gfc55b63
pkgrel=1
pkgdesc="DOS filesystem utilities"
arch=('i686' 'x86_64')
url="https://github.com/dosfstools/dosfstools"
license=('GPL3')
depends=('glibc')
makedepends=('git')
provides=('dosfstools')
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"

  autoreconf -fi
  ./configure \
    --prefix="/usr" \
    --sbindir="/usr/bin" \
    --enable-compat-symlinks
  make
}

check() {
  cd "dosfstools"

  #make check
}

package() {
  cd "dosfstools"

  make DESTDIR="$pkgdir" install
}