# $Id: PKGBUILD 112970 2014-06-10 17:19:16Z spupykin $ # Maintainer: Sergej Pupykin pkgname=xbmc-pvr-addons pkgver=20140610.13.0_Gotham _relname=${pkgver:9} pkgrel=1 pkgdesc="XBMC PVR add-ons for current stable xbmc" arch=('i686' 'x86_64') url="https://github.com/opdenkamp/xbmc-pvr-addons" license=('GPL3') depends=('xbmc' 'libmysqlclient') makedepends=('git' 'libmysqlclient' 'boost') optdepends=('tvheadend-git: tvheadend backend' 'mythtv: mythtv backend') conflicts=('xbmc-pvr-addons-git') source=("$pkgname-$pkgver.tar.gz::https://github.com/opdenkamp/xbmc-pvr-addons/archive/${_relname/_/-}.tar.gz") #source=("git://github.com/opdenkamp/xbmc-pvr-addons.git") #source=("git://github.com/fetzerch/xbmc-pvr-addons.git#branch=frodo") md5sums=('63f5863393ca869eb6f357a62de76378') build() { cd "$srcdir/$pkgname-${_relname/_/-}" ./bootstrap ./configure --prefix=/usr --enable-addons-with-dependencies make } package() { cd "$srcdir/$pkgname-${_relname/_/-}" make DESTDIR="$pkgdir/" install }