summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4fb6acd95c43834b6ff787220ad1844742ffaefc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Peter Lamby <peterlamby@web.de>
pkgname=deadbeef-bs2b
_gitname=bs2b
pkgver=10.224c2cf
pkgrel=1
pkgdesc="bs2b plugin for the DeaDBeeF music player"
arch=('i686' 'x86_64')
url="https://github.com/DeaDBeeF-Player/bs2b"
license=('GPL2')
depends=('deadbeef' 'libbs2b')
source=('git+https://github.com/DeaDBeeF-Player/bs2b.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/$_gitname"
	echo "$(git rev-list --count HEAD).$(git describe --always)"
}

build() {
  cd "${srcdir}/bs2b"
  make
}

package() {
  cd "${srcdir}/bs2b"

  install -Dm 755 ddb_bs2b.so "$pkgdir/usr/lib/deadbeef/ddb_bs2b.so"
}