summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c80ce8c5a3b1946d1de6aa991b2b1b8e3fa2dec9 (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=r182.517136a
pkgrel=1
pkgdesc="Deadass music player for Linux"
arch=('i686' 'x86_64')
url="https://github.com/keshavbhatt/olivia"
license=('MIT')
depends=('qt5-base' 'qt5-tools' 'mpv' 'python' 'wget' 'socat')
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 -spec linux-g++ CONFIG+=release
  make
}

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