summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD27
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cdadf4a4eff
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = music-lounge-git
+ pkgdesc = Yet another music player
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://gitlab.com/aercloud-systems/music-lounge
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cargo
+ makedepends = gzip
+ depends = ncurses
+ depends = gcc-libs
+ depends = glibc
+ depends = sqlite
+ source = git+https://gitlab.com/aercloud-systems/music-lounge
+ md5sums = SKIP
+
+pkgname = music-lounge-git
+
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
+}