summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ed30dad92f8fb6899abe4785550e58bebdb2db2 (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
29
30
31
32
# Maintainer: Feresey <p.milko1999@yandex.ru>
pkgname=exo-player
_gitname=exo
arch=(x86_64)
pkgdesc="eXo music player based on mocp, with QT5 graphics"
pkgver=9.0
pkgrel=4
source=(git://github.com/Feresey/exo)
url=https://github.com/loimu/exo
sha1sums=('SKIP')
license=(GPL)
makedepends=(gcc cmake git qt5-tools)
depends=(liblastfm-qt5 hicolor-icon-theme python)
optdepends=("python-notify2: for moc-osd")

prepare() {
	cd "${srcdir}/${_gitname}"
    [[ ! -d build ]] && mkdir build
    cd build
    cmake .. -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" -DCMAKE_BUILD_TYPE=Release
}

build() {
	cd "${srcdir}/${_gitname}"/build
    make
}

package() {
    cd "${srcdir}/${_gitname}/build"
    make install
}