diff options
author | xiota | 2023-01-17 08:48:59 -0800 |
---|---|---|
committer | xiota | 2023-01-17 08:54:57 -0800 |
commit | 0b03a602dda97bfebbce0ea6b0f81a5f2d2b0aec (patch) | |
tree | f5790fb92e753c850151b6802cfabcad992a04ab | |
parent | 3ea9d8d269aa1655aaf248fcd5bff05c688d2ea5 (diff) | |
download | aur-0b03a602dda97bfebbce0ea6b0f81a5f2d2b0aec.tar.gz |
add/change depends:
- python-importlib-metadata
- youtube-dl -> yt-dlp
add makedepends:
- python-installer
remove unnecessary depends:
- python
- python-ifaddr
- python-netifaces
- python-requests
minor changes to PKGBUILD
add .gitignore
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 24 insertions, 22 deletions
@@ -1,23 +1,21 @@ pkgbase = catt-git pkgdesc = Cast All The Things - Send videos from many, many online sources to your Chromecast. - pkgver = 0.12.9.r6.ge30fa5c + pkgver = 0.12.9.r7.gddc5989 pkgrel = 1 url = https://github.com/skorokithakis/catt arch = any license = BSD makedepends = git + makedepends = python-installer makedepends = python-poetry makedepends = python-setuptools - depends = python depends = python-click - depends = python-ifaddr - depends = python-netifaces + depends = python-importlib-metadata depends = python-pychromecast>=7.5.0 - depends = python-requests - depends = youtube-dl>=2020.06.06 + depends = yt-dlp provides = catt conflicts = catt - source = catt::git+https://github.com/skorokithakis/catt.git + source = catt::git+https://github.com/skorokithakis/catt sha256sums = SKIP pkgname = catt-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD @@ -1,43 +1,43 @@ # Maintainer: Jason Nader <jason *add-dot-here* nader *you-know-what-goes-here* protonmail.com> -pkgname='catt-git' -pkgver=0.12.9.r6.ge30fa5c +_pkgname='catt' +pkgname=$_pkgname-git +pkgver=0.12.9.r7.gddc5989 pkgrel=1 pkgdesc='Cast All The Things - Send videos from many, many online sources to your Chromecast.' arch=('any') url="https://github.com/skorokithakis/catt" license=('BSD') depends=( - 'python' 'python-click' - 'python-ifaddr' - 'python-netifaces' + 'python-importlib-metadata' 'python-pychromecast>=7.5.0' - 'python-requests' - 'youtube-dl>=2020.06.06') + 'yt-dlp' +) makedepends=( 'git' + 'python-installer' 'python-poetry' 'python-setuptools' ) -source=("${pkgname%-*}::git+https://github.com/skorokithakis/catt.git") +source=("$_pkgname"::"git+$url") sha256sums=('SKIP') -provides=("catt") -conflicts=("catt") +provides=("$_pkgname") +conflicts=(${provides[@]}) pkgver() { - cd "${pkgname%-*}" + cd "$_pkgname" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "${pkgname%-*}" + cd "$_pkgname" python -m poetry build --format wheel } package() { - cd "${pkgname%-*}" - install -Dm644 README.md "${pkgdir}"/usr/share/doc/"${pkgname}"/README.md - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE + cd "$_pkgname" + install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE python -m installer --destdir="$pkgdir" dist/*.whl } |