Skip to content

Commit c7ba1dc

Browse files
committed
Package cdp
1 parent db2f77c commit c7ba1dc

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

packages/cdp/PKGBUILD

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
2+
# Contributor: Florian Hülsmann <[email protected]>
3+
4+
_name=CDP8
5+
pkgname=cdp
6+
pkgver=8.0
7+
pkgrel=1
8+
pkgdesc='Composers Desktop Project suite of sound manipulation tools'
9+
arch=(aarch64 x86_64)
10+
url='https://www.composersdesktop.com/'
11+
license=(LGPL-2.1-only)
12+
groups=(pro-audio)
13+
depends=()
14+
makedepends=(make)
15+
source=("$pkgname-$pkgver.tar.gz::https://github.com/ComposersDesktop/$_name/archive/refs/tags/CDP$pkgver.tar.gz")
16+
sha256sums=('2a0e33c3d8bfdd12abf013ea5fcfa33e18c87f66823aa5676667810d726ffdff')
17+
18+
prepare() {
19+
cd $_name-CDP$pkgver/libaaio
20+
bsdtar -xvjf libaaio-0.3.1.tar.bz2
21+
}
22+
23+
build() {
24+
cd $_name-CDP$pkgver/libaaio/libaaio-0.3.1
25+
./configure
26+
make
27+
28+
cd "$srcdir"
29+
cmake -B build -S $_name-CDP$pkgver \
30+
-DCMAKE_BUILD_TYPE=None \
31+
-DCMAKE_INSTALL_PREFIX=/usr \
32+
-DCMAKE_LIBRARY_PATH="$srcdir/$_name-CDP$pkgver/libaaio/libaaio-0.3.1/.libs;/usr/lib" \
33+
-Wno-dev
34+
cmake --build build
35+
}
36+
37+
package() {
38+
DESTDIR="$pkgdir" cmake --install build
39+
}

0 commit comments

Comments
 (0)