summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68250773a39e5b846664516f0a878a5ce5cf2545 (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
# experimental/wip: not using sys dependencies
#
# Maintainer: redtide <redtid3@gmail.com>

_pkgname="cardinal"
pkgname="${_pkgname}-git"
pkgver=r112.f178251
pkgrel=1
pkgdesc="DPF'ied build of VCVRack, allowing it to be used as an audio plugin."
url="https://github.com/DISTRHO/Cardinal"
arch=("x86_64")
license=("GPL3")
makedepends=("git")
depends=("jansson" "libarchive" "libgl" "libsamplerate" "libx11" "speexdsp")
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}"::"git+https://github.com/DISTRHO/Cardinal")
sha512sums=("SKIP")
pkgver() {
    cd "${srcdir}/${_pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
    cd "${srcdir}/${_pkgname}"
    git submodule update --init --recursive
}
build() {
    cd "${srcdir}/${_pkgname}"
    make PREFIX=/usr
}
package() {
    cd "${srcdir}/${_pkgname}"
    make DESTDIR="${pkgdir}/" PREFIX=/usr install
}