You are not logged in.

#1 2021-08-12 20:28:30

Morta
Member
Registered: 2019-07-07
Posts: 655

PKGBUILD for newest mopidy-youtube version

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <youremail@domain.com>
pkgname=mopidy-youtube
pkgver=3.3.0
pkgrel=1
epoch=
pkgdesc=""
arch=(any)
url=""
license=('GPL3')
groups=()
depends=(mopidy python)
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=($pkgname-$pkgver::git+https://github.com/natumbri/mopidy-youtube.git)
noextract=()
md5sums=("SKIP")

prepare() {
    cd "$pkgname-$pkgver"
}

package() {
    cd "$pkgname-$pkgver"
  python setup.py install --root="$pkgdir"
}

Offline

#2 2021-08-12 20:38:34

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

Re: PKGBUILD for newest mopidy-youtube version

Did you have a question?

If you want the latest version why not just install the git package from the AUR?
https://aur.archlinux.org/packages/mopidy-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 2021-08-12 20:56:09

Morta
Member
Registered: 2019-07-07
Posts: 655

Re: PKGBUILD for newest mopidy-youtube version

Ok i didn‘t see it this package. My fault!
The mopidy-youtube package was flaged out of date and i try to build the newest myself. So i thinked it‘s  help someone maybe.

Offline

#4 2021-08-12 22:39:12

loqs
Member
Registered: 2014-03-06
Posts: 17,372

Re: PKGBUILD for newest mopidy-youtube version

Morta wrote:

The mopidy-youtube package was flaged out of date and i try to build the newest myself. So i thinked it‘s  help someone maybe.

https://github.com/natumbri/mopidy-youtube/releases shows the latest release is 3.3 and the package builds for me.

You changed the PKGBUILD to build from git without adding the -git suffix to pkgname and a pkgver function or pinning it to a commit to stop it being a -git package.  You also did not include git in makedepends.
Wrong license.  Empty variables not removed.  Empty pkgdesc and url.

Offline

Board footer

Powered by FluxBB