summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e78b7d8d153681eeb70b79f5573ef4e16cd0d361 (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
29
# Maintainer: Marc ROGER de CAMPAGNOLLE <fora at mrdc dot fr>

pkgname=deadbeef-plugin-hdcd-git
_pkgname=deadbeef-hdcd
pkgver=r9.246c842
pkgrel=3
pkgdesc="An HDCD decoder DSP plugin for deadbeef audio player, using libhdcd"
arch=('i686' 'x86_64')
url="https://github.com/bp0/deadbeef-hdcd"
license=('BSD')
depends=('deadbeef' 'libhdcd')
makedepends=('git' 'gcc')
source=("git+https://github.com/bp0/deadbeef-hdcd.git")
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname/"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgname/"
  sh build.sh
}

package() {
  cd "$srcdir/$_pkgname/"
  install -Dm755 -t "$pkgdir/usr/lib/deadbeef/" ddb_hdcd.so
}