summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bf1733e6e8499c2e6d53fcce4403b9943812b4b (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
# Maintainer: Oleg Antonyan <oleg.b.antonyan@gmail.com>
# Contributor: Oleg Antonyan <oleg.b.antonyan@gmail.com>

pkgname=mpz
pkgver=0.0.15
pkgrel=8
pkgdesc='Music player for the large local collections'
arch=('x86_64')
url="https://github.com/olegantonyan/mpz"
license=('GPL3')
depends=('qt5-multimedia' 'qt5-x11extras' 'hicolor-icon-theme')
provides=('mpz')
source=("$pkgname-$pkgver-$pkgrel.zip::https://github.com/olegantonyan/mpz/archive/3c94c6dbb3c6b0d814e08d4057f268dea3a0a936.zip")
sha256sums=('f3307d9c5556ff51a7474b0eff5d6f3657bafe7b4f7f9576da0578f388455ec6')

build() {
    cd $pkgname-3c94c6dbb3c6b0d814e08d4057f268dea3a0a936

    rm -rf build
    mkdir build
    cd build
    qmake-qt5 CONFIG+=release ..
    make
}

package() {
    cd $pkgname-3c94c6dbb3c6b0d814e08d4057f268dea3a0a936

    cd build
    make install INSTALL_ROOT=$pkgdir
}