diff options
author | Jacob Mischka | 2018-02-15 21:23:13 -0600 |
---|---|---|
committer | Jacob Mischka | 2018-02-15 21:23:13 -0600 |
commit | 993669e91289c12eff35b80c2610dace37ed1366 (patch) | |
tree | 46a3ef77cfb1c82336987a0332f75973074655ec | |
download | aur-993669e91289c12eff35b80c2610dace37ed1366.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 17 | ||||
-rw-r--r-- | PKGBUILD | 38 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d801a84f808c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Feb 16 03:23:08 UTC 2018 +pkgbase = gnomecast-git + pkgdesc = A native Linux GUI for Chromecasting local files. + pkgver = r16.8c08e60 + pkgrel = 1 + url = https://github.com/keredson/gnomecast + arch = x86_64 + license = GPL-3.0 + depends = gtk3 + depends = python + provides = gnomecast + source = gnomecast-git::git://github.com/keredson/gnomecast.git + sha512sums = SKIP + +pkgname = gnomecast-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..1ff2afcd7e7e --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +*~ +*.log +gnomecast-git +pkg/ +src/ +*.gz +*.bz2 +*.xz +*.lzo +*.xz4 +*.tgz +*.tbz +*.txz +*.tar +*.jar +*.zip + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..20a436046bd3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Jacob Mischka <jacob@mischka.me> + +pkgname=gnomecast-git +pkgver=r16.8c08e60 +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') +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() { + cd "$srcdir/$pkgname" + python setup.py install --root="$pkgdir/" --optimize=1 + + install -Dm0644 cast.png "$pkgdir/usr/share/pixmaps/gnomecast.png" + + _launcher="$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm0755 /dev/stdin "$_launcher"<<END +[Desktop Entry] +Version=$pkgver +Name=Gnomecast +Comment=Cast local files to Chromecast +Exec=python -m gnomecast +Icon=gnomecast +Type=Application +END +} + + |