summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b7ef9fd05144ed3e11be62ebb3837bd25460c78 (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=1.0.25
pkgrel=2
pkgdesc='Music player for the large local collections'
arch=('x86_64')
url="https://github.com/olegantonyan/mpz"
license=('GPL3')
depends=('qt6-multimedia' 'hicolor-icon-theme' 'yaml-cpp' 'taglib')
provides=('mpz')
source=("$pkgname-$pkgver-$pkgrel.zip::https://github.com/olegantonyan/mpz/archive/7ab927da89604075e331c457dcdd180df070d42c.zip")
sha256sums=('36cd0363ee58679b33acc88bca54215674da4d9bffa0d1f1327d3774949fd656')

build() {
    cd mpz-7ab927da89604075e331c457dcdd180df070d42c

    rm -rf build
    mkdir build
    cd build
    qmake6 CONFIG+=release DEFINES+=USE_SYSTEM_TAGLIB DEFINES+=USE_SYSTEM_YAMLCPP ..
    make
}

package() {
    cd mpz-7ab927da89604075e331c457dcdd180df070d42c

    cd build
    make install INSTALL_ROOT=$pkgdir
}