Skip to content

Commit

Permalink
Package cdp
Browse files Browse the repository at this point in the history
  • Loading branch information
cbix committed Dec 19, 2023
1 parent f9a84eb commit c933a50
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions packages/cdp/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Florian Hülsmann <[email protected]>

_name=CDP8
pkgname=cdp
pkgver=8.0
pkgrel=1
pkgdesc='Composers Desktop Project suite of sound manipulation tools'
arch=(aarch64 x86_64)
url='https://www.composersdesktop.com/'
license=(LGPL-2.1-only)
groups=(pro-audio)
depends=()
makedepends=(make)
source=("$pkgname-$pkgver.tar.gz::https://github.com/ComposersDesktop/$_name/archive/refs/tags/CDP$pkgver.tar.gz")
sha256sums=('2a0e33c3d8bfdd12abf013ea5fcfa33e18c87f66823aa5676667810d726ffdff')

prepare() {
cd $_name-CDP$pkgver/libaaio
bsdtar -xvjf libaaio-0.3.1.tar.bz2
}

build() {
cd $_name-CDP$pkgver/libaaio/libaaio-0.3.1
./configure
make

cd "$srcdir"
cmake -B build -S $_name-CDP$pkgver \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_LIBRARY_PATH="$srcdir/$_name-CDP$pkgver/libaaio/libaaio-0.3.1/.libs;/usr/lib" \
-Wno-dev
cmake --build build
}

package() {
DESTDIR="$pkgdir" cmake --install build
}

0 comments on commit c933a50

Please sign in to comment.