summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73bc3e362bdfc9d645b3665e597532ee53eac962 (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
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=libudfread-git
pkgver=1.1.2.2.gb3e6936
pkgrel=1
pkgdesc='UDF reader. (GIT version)'
arch=('x86_64')
license=('LGPL2.1')
url='https://git.videolan.org/?p=libudfread.git;a=summary'
depends=('glibc')
makedepends=('git')
provides=('libudfread'
          'libudfread.so'
          )
conflicts=('libudfread')
source=('git+https://code.videolan.org/videolan/libudfread.git')
sha256sums=('SKIP')

pkgver() {
  cd libudfread
  echo "$(git describe --long --tags | tr - .)"
}

prepare() {
  mkdir -p build

  cd libudfread
  ./bootstrap
}

build() {
  cd build
  ../libudfread/configure \
    --prefix=/usr \
    --disable-static

  make
}

package() {
  make -C build DESTDIR="${pkgdir}" install
}