# Maintainer: Andrew O'Neill pkgname=musikcube pkgver=0.96.5 pkgrel=1 pkgdesc='A terminal-based cross-platform music player, audio engine, metadata indexer, and server' arch=('x86_64') url="https://github.com/clangen/${pkgname}" license=('BSD') conflicts=("${pkgname}-git") depends=('faad2' 'libogg' 'libvorbis' 'flac' 'libmicrohttpd' 'lame' 'ncurses' 'boost-libs' 'pulseaudio' 'libpulse' 'libev' 'alsa-lib' 'curl' 'ffmpeg' 'taglib') makedepends=('cmake' 'boost') optdepends=('libopenmpt: OpenMPT support') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") sha256sums=('ee00667ea172a557c00de485fbbaa3fde3eb5ec1867c94b5f1705c1b72807490') build() { cd "${pkgname}-${pkgver}" cmake -DCMAKE_INSTALL_PREFIX=/usr . make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }