summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e9d749899b25bdf8e4e3a03e863017ceba36c8d (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
# Maintainer: gCurse <gcurse at web de>

pkgname=otr-verwaltung3p-dev-git
pkgver=1.0.0b4.r0.g2796cc0
pkgrel=3
pkgdesc='Manage your onlinetvrecorder.com files: cut, preview cuts, rate cutlists etc.'
arch=('any')
url='https://github.com/EinApfelBaum/otr-verwaltung3p'
license=('GPL3')
depends=('gtk3' 'python' 'python-gobject' 'gst-python' 'python-appdirs' 'python-psutil' 'python-cairo'
         'python-requests' 'python-keyring' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugin-gtk'
         'gst-plugins-bad' 'gst-plugins-ugly' 'gst-libav' 'mpv' 'ffmpeg' 'ffms2' 'mediainfo'
         'mkvtoolnix-cli' 'x264')
optdepends=('gnome-keyring: For password storing in keyring'
            'kwallet: For password storing in wallet'
            'mediainfo-gui: For plugin Mediainfo')
makedepends=('git' 'python-distutils-extra')
conflicts=('otr-verwaltung3p' 'otr-verwaltung3p-dev')
provides=('otr-verwaltung3p')
source=("git+https://github.com/EinApfelBaum/otr-verwaltung3p.git#branch=development")
sha256sums=('SKIP')
options=('!strip')

_gitname='otr-verwaltung3p'

pkgver() {
  cd "${srcdir}/${_gitname}"
  git_version=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
  # echo $git_version > data/VERSION-git
  echo $git_version
}

package() {
    cd "${srcdir}/${_gitname}"
    python setup.py install --prefix=/usr --root=${pkgdir} --optimize=1
}