diff --git a/catt/.SRCINFO b/catt/.SRCINFO new file mode 100644 --- /dev/null +++ b/catt/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = catt + pkgdesc = Cast All The Things - Send videos from many, many online sources to your Chromecast. + pkgver = 0.12.1 + pkgrel = 2 + url = https://github.com/skorokithakis/catt + arch = any + license = BSD + makedepends = python-setuptools + depends = python + depends = python-click + depends = python-ifaddr + depends = python-netifaces + depends = python-pychromecast>=7.5.0 + depends = python-requests + depends = youtube-dl>=2020.06.06 + source = catt-0.12.1.tar.gz::https://github.com/skorokithakis/catt/archive/v0.12.1.tar.gz + sha256sums = fbc15d589a21f643aa9d6fdbe05a8e4a6c7884680051769a6be80a9b572eb12c + +pkgname = catt + diff --git a/catt/.gitignore b/catt/.gitignore new file mode 100644 --- /dev/null +++ b/catt/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/catt/PKGBUILD b/catt/PKGBUILD new file mode 100644 --- /dev/null +++ b/catt/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Michael Riegert +# Contributor: Evan McCarthy +# Contributor: Sibren Vasse +# Contributor: Clint Valentine + +pkgname='catt' +pkgver=0.12.1 +pkgrel=2 +pkgdesc='Cast All The Things - Send videos from many, many online sources to your Chromecast.' +arch=('any') +url=https://github.com/skorokithakis/"${pkgname}" +license=('BSD') +depends=( + 'python' + 'python-click' + 'python-ifaddr' + 'python-netifaces' + 'python-pychromecast>=7.5.0' + 'python-requests' + 'youtube-dl>=2020.06.06') +makedepends=('python-setuptools') +source=("${pkgname}"-"${pkgver}".tar.gz::${url}/archive/v"${pkgver}".tar.gz) +sha256sums=('fbc15d589a21f643aa9d6fdbe05a8e4a6c7884680051769a6be80a9b572eb12c') + +build(){ + cd "${srcdir}"/"${pkgname}"-"${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}"/"${pkgname}"-"${pkgver}" + install -Dm644 README.rst "${pkgdir}"/usr/share/doc/"${pkgname}"/README.rst + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE + python setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build +}