blob: e9260668d88dcab3a46aca9d01464d75f21f1b4a (
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
33
34
35
36
37
38
39
|
# Maintainer: Andy Kluger <https://t.me/andykluger>
_pkgname=mpvz
_github="Zren/${_pkgname}"
pkgname=${_pkgname}-git
pkgver=0.r190.g89208b7
pkgrel=1
pkgdesc='Qt5/QML based GUI for libmpv. Based on the Tethys theme for Bomi.'
url="https://github.com/${_github}"
conflicts=("${_pkgname}")
provides=("${_pkgname}")
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('git')
depends=('qt5-x11extras' 'qt5-quickcontrols' 'mpv')
source=("${_pkgname}::git+https://github.com/${_github}")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf '0.r%s.g%s' \
"$(git rev-list --count master)" \
"$(git log -1 --format='%h')"
}
prepare() {
mkdir -p "${srcdir}/${_pkgname}/build"
}
build() {
cd "${srcdir}/${_pkgname}/build"
qmake ..
make
}
package() {
cd "${srcdir}/${_pkgname}/build"
make INSTALL_ROOT="${pkgdir}/" install
}
|