You are not logged in.

#1 2022-02-19 01:51:26

pacman41
Member
Registered: 2019-12-01
Posts: 23

PKGBUILD for yewtube

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

https://github.com/iamtalhaasghar/yewtube

Offline

#2 2022-02-19 02:00:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: PKGBUILD for yewtube

What have you come up with so far?

This is probably a good place to start...
https://aur.archlinux.org/packages/mps-youtube-git


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-02-19 02:45:37

pacman41
Member
Registered: 2019-12-01
Posts: 23

Re: PKGBUILD for yewtube

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

Board footer

Powered by FluxBB