summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b770a8c8fbe783c795c9844d521838b2d2811050 (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
# $Id$
# Maintainer: Doug Newgard <scimmia at archlinux dot info>
# Maintainer: James Kittsmiller (AJSlye) <james@nulogicsystems.com>

_pkgname=epymc
pkgname=$_pkgname-git
pkgver=1.2.0.r46.g6af78ff
pkgrel=1
pkgdesc="Media Center based on EFL - Development version"
arch=('any')
url="https://github.com/DaveMDS/epymc"
license=('GPL3')
depends=('python-efl' 'python-pyudev')
optdepends=('lirc: remote contol support'
            'python-mutagen: Music module'
            'python-beautifulsoup4: Online Channels module'
            'sdlmame: MAME module')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git://github.com/DaveMDS/epymc.git")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname

  git describe --tags --long | sed 's/^v//;s/-beta/beta/;s/-/.r/;s/-/./g'
}

package() {
  cd $_pkgname

  python setup.py install --root="$pkgdir" --optimize=1
}