mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
34 lines
760 B
Bash
34 lines
760 B
Bash
pkgname=hydrogen
|
|
pkgver=0.9.7
|
|
pkgrel=1
|
|
pkgdesc="Advanced drum machine."
|
|
arch=('x86_64')
|
|
license=('GPL2')
|
|
url="http://www.hydrogen-music.org/"
|
|
depends=('alsa-lib' 'flac' 'lash' 'jack' 'libarchive' 'libsndfile' 'qt' 'tar' 'zlib' 'ladspa' 'pulseaudio')
|
|
makedepends=('cmake')
|
|
categories=('multimedia')
|
|
source=(https://github.com/hydrogen-music/$pkgname/archive/$pkgver.tar.gz)
|
|
sha1sums=('016c5427d0598f933f0975d6d25434736ba0a0b6')
|
|
|
|
build() {
|
|
msg "Compiling..."
|
|
cd $srcdir/$pkgname-$pkgver
|
|
mkdir -p build/
|
|
cd build
|
|
cmake ../ \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DWANT_LASH=true \
|
|
-DWANT_LIBARCHIVE=true
|
|
make
|
|
}
|
|
|
|
package() {
|
|
|
|
msg "Installing..."
|
|
cd $srcdir/$pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|