summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dea3af4ff76de5299ad001bf10d2a263ea08d2e8 (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
# Maintainer: Miguel Revilla <yo@miguelrevilla.com>

pkgname=libvlcpp-git
epoch=1
pkgver=0.281.f3db793
pkgrel=1
pkgdesc="C++ bindings for libvlc"
arch=('i686' 'x86_64')
url="http://vlmc.org/"
license=('GPL')
depends=('vlc')
makedepends=('git')
source=(
  'git+https://code.videolan.org/videolan/libvlcpp.git'
)

sha256sums=(
  'SKIP'
)
provides=('libvlcpp')
conflicts=('libvlcpp')
_gitname="libvlcpp"

pkgver() {
  cd "${srcdir}/${_gitname}"
  echo "0.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}


build() {
  cd "${srcdir}/${_gitname}"

  ./bootstrap
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${_gitname}"
  make "DESTDIR=${pkgdir}" install
}