summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cf7a0216859
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Noah Jelen <noahtjelen@gmail.com>
+
+pkgname=music-lounge-git
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Yet another music player"
+arch=('i686' 'x86_64')
+url="https://gitlab.com/aercloud-systems/music-lounge"
+license=('GPL')
+depends=('ncurses' 'gcc-libs' 'glibc' 'sqlite')
+makedepends=('cargo' 'gzip')
+source=("git+https://gitlab.com/aercloud-systems/music-lounge")
+md5sums=('SKIP')
+
+build() {
+ cd "music-lounge"
+ cargo build --release
+}
+
+package() {
+ #the package contents
+ cd "music-lounge"
+ mkdir -p "$pkgdir/usr/lib/mlounge"
+ install -Dt "$pkgdir/usr/bin" -m755 target/release/mlounge
+ install -Dt "$pkgdir/usr/share/applications/" mlounge.desktop
+ install -Dt "$pkgdir/usr/lib/mlounge/" icon.png
+}