blob: 21d665d6e2af9b8bad1e14a27dab6e39110a3674 (
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
32
33
34
35
36
37
|
# Maintainer: David Runge <dave@sleepmap.de>
_basename=jackcpp
pkgname=jackcpp-git
pkgver=r23.488554c
pkgrel=5
pkgdesc="Some c++ classes which wrap the Jack audio io api and lock-free ring buffer."
url="https://github.com/x37v/jackcpp"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
license=('GPL3')
depends=('jack' 'swig')
makedepends=('git' 'doxygen')
provides=('jackcpp')
source=("git+https://github.com/x37v/jackcpp.git")
sha512sums=('SKIP')
pkgver() {
cd "${_basename}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build(){
cd "${_basename}"
make
cd "${srcdir}/${_basename}/doc"
doxygen
}
package() {
cd "${_basename}"
mkdir -p "${pkgdir}"/usr/{include,lib,share/doc/"${_basename}"/{html,latex}}
make PREFIX="/usr" DESTDIR="${pkgdir}/" install
install -Dm 644 src/* "${pkgdir}/usr/lib"
install -Dm 644 doc/html/* "${pkgdir}/usr/share/doc/${_basename}/html"
install -Dm 644 doc/latex/* "${pkgdir}/usr/share/doc/${_basename}/latex"
}
|