Closed t1csi closed 9 years ago
I found some mistakes:
autoreconf --install
.prjname
should be pkgname
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.
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)
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.
We will see. ;) Time issue is same problem for me. Maybe you will get more feedbacks and/or some contribution from others.
I uploaded a PKGBUILD to the AUR: https://aur.archlinux.org/packages/deadbeef-mpris2-plugin/
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 }