summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6360f3443b0d2437b840c98fc40313794b5b70b9 (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
# Maintainer: Noah Jelen <noahtjelen@gmail.com>

pkgname=music-lounge
pkgver=0.1.2
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=("https://gitlab.com/aercloud-systems/music-lounge/-/archive/0.1.2/music-lounge-0.1.2.zip")
md5sums=('SKIP')

build() {
    cd "music-lounge-0.1.2"
    cargo build --release
}

package() {
    #the package contents
    cd "music-lounge-0.1.2"
    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
}