summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8808641fd4e972a74146a4bedfe23faef07f5fc1 (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
30
31
# Contributor: Peter Lamby <peterlamby@web.de>
# Maintainer: C. N. Hsing
pkgname=deadbeef-opus-git
pkgver=0.8.r1.gfd9333b
pkgrel=1
pkgdesc="opus plugin for the DeaDBeeF music player"
arch=('i686' 'x86_64')
url="https://bitbucket.org/Lithopsian/deadbeef-opus"
license=('GPL2')
provides=(deadbeef-opus)
conflicts=(deadbeef-opus)
depends=('deadbeef' 'opusfile')
makedepends=('git')
source=('git+https://bitbucket.org/Lithopsian/deadbeef-opus.git')
md5sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
  cd ${pkgname%-git}
  make
}

package() {
  cd ${pkgname%-git}
  install -Dm755 opus.so "$pkgdir/usr/lib/deadbeef/opus.so"
}