You are not logged in.
Could anyone post an example of a pkgbuild for yewtube? Mine keep failing, this is a clone of mps-youtube
here is a link to the github page
Offline
What have you come up with so far?
This is probably a good place to start...
https://aur.archlinux.org/packages/mps-youtube-git
Offline
pkgname=yewtube-git
_pkgname=yewtube
pkgver=2.7.0.r0.g4b3ca6d
pkgrel=2
pkgdesc="Terminal based YouTube jukebox with playlist management - clone of mps-youtube"
url='https://github.com/iamtalhaasghar/yewtube'
arch=('any')
license=('GPL3')
depends=('python' 'python-setuptools' 'python-pafy')
makedepends=('git')
optdepends=('mpv: Alternative to mplayer for playback'
'mplayer: Alternative to mpv for playback'
'ffmpeg: for transcoding downloaded content'
'python-pyperclip: for copying content to the clipboard')
provides=('yewtube')
conflicts=('mps-youtube')
source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd ${_pkgname}
git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd ${_pkgname}
python setup.py install --root="$pkgdir" --optimize=1
}
Last edited by pacman41 (2022-02-20 00:49:51)
Offline