From 4c1441181a774019e52d728a10344183f3dd59ef Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Mon, 1 Oct 2018 21:54:35 +0200 Subject: Add DeadBeeF lyrics bar plugin. new file: deadbeef-plugin-lyricsbar-git/.SRCINFO new file: deadbeef-plugin-lyricsbar-git/.gitignore new file: deadbeef-plugin-lyricsbar-git/PKGBUILD new file: deadbeef-plugin-lyricsbar-git/deadbeef-lyricsbar-makefile.patch --- deadbeef-plugin-lyricsbar-git/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 deadbeef-plugin-lyricsbar-git/PKGBUILD (limited to 'deadbeef-plugin-lyricsbar-git/PKGBUILD') diff --git a/deadbeef-plugin-lyricsbar-git/PKGBUILD b/deadbeef-plugin-lyricsbar-git/PKGBUILD new file mode 100644 index 0000000..373592b --- /dev/null +++ b/deadbeef-plugin-lyricsbar-git/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Deposite Pirate +# +# Upstream: https://git.metalpunks.info/arch-ports + +_pkgname=deadbeef-lyricsbar +pkgname=deadbeef-plugin-lyricsbar-git +pkgver=r9.gb6709b7 +pkgrel=1 +pkgdesc="DeaDBeeF lyrics bar plugin" +arch=('i686' 'x86_64') +url="https://github.com/VolkMilit/deadbeef-lyricsbar" +license=('GPL2') +depends=('deadbeef-git') +makedepends=('git') +source=("${_pkgname}::git+https://github.com/VolkMilit/${_pkgname}" + "${_pkgname}-makefile.patch") +sha256sums=('SKIP' + '5f8367de9b26c02904c7954d317cd167adc8583826178e481aed7c636415631f') + +pkgver() { + cd "${_pkgname}" + printf "r%s.g%s" \ + "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "${_pkgname}" + + # Arch compile FLAGS + patch -p1 -i ../${_pkgname}-makefile.patch +} + +build() { + cd "${_pkgname}" + make COPTS="${CFLAGS}" +} + +package() { + cd "${_pkgname}" + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-70-g09d2