blob: 0a3d291ccefe3cfff8e3203db521cd73aa0482eb (
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: Oleg Antonyan <oleg.b.antonyan@gmail.com>
# Contributor: Oleg Antonyan <oleg.b.antonyan@gmail.com>
pkgname=mpz-qt5
pkgver=1.1.0
pkgrel=2
pkgdesc='Music player for the large local collections (Qt5 version)'
arch=('x86_64')
url="https://github.com/olegantonyan/mpz"
license=('GPL3')
depends=('cmake' 'qt5-multimedia' 'qt5-x11extras' 'hicolor-icon-theme' 'yaml-cpp' 'taglib')
provides=('mpz')
conflicts=('mpz')
source=("$pkgname-$pkgver-$pkgrel.zip::https://github.com/olegantonyan/mpz/archive/92b49ee32f9bf052ef6f3a6d47f5c59d2dfbda5b.zip")
sha256sums=('e972726ca85ea9583fbedbeacd25579264f4d09c50b6672b71333d2b54d5087b')
build() {
cd mpz-92b49ee32f9bf052ef6f3a6d47f5c59d2dfbda5b
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SYSTEM_TAGLIB=ON -DUSE_SYSTEM_YAMLCPP=ON -DUSE_QT5=ON ..
cmake --build .
}
package() {
cd mpz-92b49ee32f9bf052ef6f3a6d47f5c59d2dfbda5b
cd build
DESTDIR="$pkgdir" cmake --install .
}
|