summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf7a02168595fa4229aa2943b200163814069661 (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-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
}