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

pkgname=medialibrary-git
pkgver=1223.7aac382
pkgrel=1
pkgdesc="VideoLAN Media Library"
arch=('i686' 'x86_64')
url="http://vlmc.org/"
license=('GPL')
depends=('vlc' 'libvlcpp' 'libjpeg-turbo' 'sqlite')
makedepends=('git')
source=(
  'git+https://code.videolan.org/videolan/medialibrary.git'
)

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

pkgver() {
  cd "${srcdir}/${_gitname}"
  echo "$(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
}