summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3502d99822ef6e315d59a27c716bc28c136194e0 (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
# Maintainer: willemw <willemw12@gmail.com>
# Contibutor: Raizner Evgeniy <razrfalcon@gmail.com>

_pkgname=qmediainfo
pkgname=$_pkgname-git
pkgver=r10.589c615
pkgrel=1
pkgdesc="Simple MediaInfo parser based on Qt"
arch=('i686' 'x86_64')
url="https://github.com/RazrFalcon/QMediaInfo"
license=('GPL')
depends=('qt4' 'mediainfo')
makedepends=('git')
conflicts=($_pkgname)
provides=($_pkgname)
source=($pkgname::git://github.com/RazrFalcon/QMediaInfo.git)
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $pkgname
  qmake-qt4 -config release
  make
}  

package() {
  cd $pkgname
  make INSTALL_ROOT="$pkgdir" install
}