-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
35 lines (32 loc) · 814 Bytes
/
PKGBUILD
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
pkgname=vkplayer-dbus
pkgver=0.08.17
pkgrel=1
pkgdesc="VKPlayer Search music, load MyAudio and Recommendations playlists, save stream while"
arch=(any)
url="http://forum.ubuntu.ru/index.php?topic=168217"
license=('unknown')
depends=('qt' 'gstreamer0.10-ffmpeg' 'gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins' 'gstreamer0.10-good-plugins')
provides=('vkplayer')
conflicts=('vkplayer')
makedepends=('phonon')
build() {
if [ -d ${srcdir}/${pkgname} ]; then
pushd ${srcdir}/${pkgname}
git pull origin
popd
else
git clone git://github.com/VlaoMao/vkplayer-dbus.git
fi
cd "$srcdir/$pkgname/src"
qmake
patch Makefile -i ../../../make.patch
make
}
check() {
cd "$srcdir/$pkgname/src"
make -k check
}
package() {
cd "$srcdir/$pkgname/src"
make INSTALL_ROOT="${pkgdir}" install
}