Serranya / deadbeef-mpris2-plugin

A rewrite of the seemingly orphaned deadbeef-mpris-plugin originally written by HuangCongyu
GNU General Public License v2.0
65 stars 8 forks source link

Proposed PKGBUILD for Arch Linux #3

Closed t1csi closed 9 years ago

t1csi commented 10 years ago

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 commented 10 years ago

I found some mistakes:

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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

Serranya commented 10 years ago

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