summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrew O'Neill2017-07-30 00:45:23 -0400
committerAndrew O'Neill2017-07-30 00:45:23 -0400
commit4472ccf1b9c0b06c0aa35dbd0f0bd10a2e5550b3 (patch)
tree9d92f38d5b427b554c8430931223fc1ff1c2b569 /PKGBUILD
downloadaur-4472ccf1b9c0b06c0aa35dbd0f0bd10a2e5550b3.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..516b30128ba
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Andrew O'Neill <andrew at meanjollies dot com>
+
+pkgname=musikcube
+pkgver=0.22.0
+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' 'pulseaudio' 'libpulse' 'alsa-lib' 'curl')
+makedepends=('cmake')
+source=(https://github.com/clangen/musikcube/archive/$pkgver.tar.gz
+ LICENSE.txt)
+sha256sums=('0a252973378b1f21fbdc7646dfae3d8113f8572c186bed4b129c6725ea4ec6a2'
+ 'f6b4cd2e08c8a93cd447eb4a077ecb0c7eca8c3d175aaeedb1f49731f86c8e5b')
+
+build() {
+ cd $pkgname-$pkgver
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR=$pkgdir install
+ install -Dm644 $srcdir/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}