Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Proposed PKGBUILD for Arch Linux #3

Closed
t1csi opened this issue Nov 24, 2014 · 5 comments
Closed

Proposed PKGBUILD for Arch Linux #3

t1csi opened this issue Nov 24, 2014 · 5 comments

Comments

@t1csi
Copy link

t1csi commented Nov 24, 2014

Contributor: Peter Lamby <email [at] host [dot] com>

Contributor: HuangCongyu <huangcongyu2006 [at] gmail [dot] com>

Maintainer.:

pkgname=deadbeef-plugin-mpris2-git
prjname=deadbeef-mpris2-plugin
pkgver=2.1.5
pkgrel=1
pkgdesc="MPRIS plugin for DeaDBeeF music player"
arch=("i686" "x86_64")
license=('GPL')
url="https://github.com/Serranya/deadbeef-mpris2-plugin"
depends=('deadbeef')
source=('git+https://github.com/Serranya/deadbeef-mpris2-plugin.git')
md5sums=("SKIP")

pkgver() {
cd "$srcdir/$prjname"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
cd "${srcdir}/${prjname}"
autoreconf --install
./configure --prefix=/usr
make
}

package () {
cd "${srcdir}/${prjname}"
make DESTDIR="${pkgdir}" install
}

@Serranya
Copy link
Owner

I found some mistakes:

  • You will need an makedepends on automake for autoreconf --install.
  • prjname should be pkgname
  • and my email host is missing :)

But i would be glad if this software becomes part of an Distribution :)

ps: consider also offering the Releases. In this case a dependency on automake is not needed.

@t1csi
Copy link
Author

t1csi commented Nov 26, 2014

I'm not a package maintainer. :) So, it's just some kind of 'giving some idea' to posting it to AUR (arch user repository). The purpose of prjname is just following the naming convention of plugins in AUR (deadbeef-plugin-something). Anyway, this PKGBULD just borrowed from the original mpris plugin:
https://aur.archlinux.org/packages/deadbeef-mpris-plugin/

I think it doesn't need put dependency information into PKGBUILD 'cause automake is part of the base-devel group (which is needed to compiling stuffs from AUR)

@Serranya
Copy link
Owner

i see, you are right.

I can put in the AUR. But i dont have much time this week. I think i can add it next week.
Hopfully i will also have the Metadata map fixed by then.

@t1csi
Copy link
Author

t1csi commented Nov 26, 2014

We will see. ;) Time issue is same problem for me.
Maybe you will get more feedbacks and/or some contribution from others.

@Serranya
Copy link
Owner

Serranya commented Dec 6, 2014

I uploaded a PKGBUILD to the AUR: https://aur.archlinux.org/packages/deadbeef-mpris2-plugin/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants