summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ad128bb191d627ad8b76f7ba6ca4a81af600b9f (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
# Maintainer: Marco Asa <marcoasa90[at]gmail[dot]com>
# Contributor: Christopher Arndt <chris at chrisarndt.de>

pkgname=linux-show-player
pkgver=0.4.1
pkgrel=2
pkgdesc="sound cue playback software designed for live musical shows and theatre plays"
url="http://linux-show-player.sourceforge.net/"
arch=('any')
license=('GPL3')
depends=('python-pyqt5' 'python-gobject' 'gst-plugins-good'
         'python-setuptools' 'python-sortedcontainers')
optdepends=('portmidi: for portmidi support'
            'gst-libav: for larger format support')
source=("https://github.com/FrancescoCeruti/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('661c12d8a401fb9232f1bd8de77abf86')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
  mkdir -p "$pkgdir/usr/share/applications"
  mkdir -p "$pkgdir/usr/share/pixmaps"
  mkdir -p "$pkgdir/usr/share/mime/packages"
  cp dist/linux-show-player.desktop "$pkgdir/usr/share/applications/"
  cp dist/linux_show_player.png "$pkgdir/usr/share/pixmaps/"
  cp dist/linux-show-player.xml "$pkgdir/usr/share/mime/packages/"
}