summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28959a7d897b362fd2567b428878c8dc332cef1b (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
28
# Maintainer: Bleuzen <supgesu at gmail dot com>

pkgname=olivia
pkgver=r684.b525694
pkgrel=1
pkgdesc="Elegant Cloud Music Player for Linux Desktop"
arch=('i686' 'x86_64')
url="https://github.com/keshavbhatt/olivia"
license=('MIT')
depends=('qt5-base' 'qt5-tools' 'qt5-webkit' 'mpv' 'python' 'wget' 'socat' 'ffmpeg' 'taglib' 'pv')
source=("git+https://github.com/keshavbhatt/olivia.git")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$pkgname"
  qmake Olivia.pro PREFIX="$pkgdir/usr" -spec linux-g++ CONFIG+=release
  make
}

package() {
  cd "$pkgname"
  make DESTDIR="$pkgdir/usr" install
}