blob: 641c7888ed82749a98be3a0e4ec5560327b76265 (
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
38
39
|
# Maintainer: Jerry Xiao <aur at mail.jerryxiao.cc>
_srcname=musly
pkgname=musly-git
pkgdesc="Music Similarity Library"
pkgver=0.1.110.g7a0c6a9
pkgrel=1
arch=('x86_64')
url="https://www.musly.org"
license=('custom:MPL2.0')
provides=('musly')
makedepends=('cmake')
depends=('ffmpeg' 'eigen')
source=(
"${_srcname}::git+https://github.com/dominikschnitzer/musly.git#branch=master"
)
md5sums=(
'SKIP'
)
pkgver() {
cd "$srcdir/${_srcname}"
git describe --tags | sed 's/^v//;s/-/./g'
}
build() {
cd "$srcdir/${_srcname}"
mkdir -p build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/${_srcname}/build"
make DESTDIR="$pkgdir" install
}
|