summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5968d35d12d7902a9fe862f3d9b75bb432c3b2e (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: Jacob Mischka <jacob@mischka.me>

pkgname=gnomecast-git
pkgver=r101.e0ec89c
pkgrel=1
pkgdesc='A native Linux GUI for Chromecasting local files.'
arch=('x86_64')
url='https://github.com/keredson/gnomecast'
license=('GPL-3.0')
depends=('gtk3' 'python' 'ffmpeg' 'python-paste' 'python-bottle' 'python-pychromecast-git' 'python-dbus' 'python-gobject')
makedepends=('python-setuptools' 'python-pip')
provides=('gnomecast')
source=("$pkgname::git://github.com/keredson/gnomecast.git")
sha512sums=('SKIP')

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

package() {
	PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" pycaption pbr
	cd "$srcdir/$pkgname"
	python setup.py install --root="$pkgdir/" --optimize=1
}