blob: c4bbac0306ef4e0ae0c03a884971912930de5465 (
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
40
41
42
|
# maintainer: hzy068808 at gmail.com
# contributer: a304yuanyuan at gmail.com
# contributer: rob.til.freedman@googlemail.com
pkgname=moonplayer
pkgver=4.3
pkgrel=1
pkgdesc="A qt font-end for mplayer with the abilities of watching and downloading videos from chinese network"
arch=('i686' 'x86_64')
url="https://github.com/coslyk/moonplayer"
license=('GPL')
depends=('python' 'qt6-declarative' 'mpv')
makedepends=('cmake' 'git' 'qt6-tools' 'clang')
source=(
git+https://github.com/coslyk/moonplayer.git#tag=v$pkgver
)
sha1sums=('SKIP')
prepare() {
cd $srcdir/$pkgname
git submodule update --init --recursive
}
build() {
cd $srcdir/$pkgname
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/$pkgname/build
make DESTDIR="${pkgdir}" install
cd $pkgdir/usr/share
mv icons pixmaps
}
|