/
PKGBUILD
25 lines (19 loc) · 1.19 KB
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jove Yu <yushijun110[AT]gmail.com>
pkgname=deepin-music-player
pkgver=git20130614104136~86b4f5bc3f
pkgrel=1
pkgdesc='Awesome music player with brilliant and tweakful UI Deepin-UI based, gstreamer front-end, with features likes search music by pinyin,quanpin, colorful lyrics supports, and more powerfull functions you will found.'
depends=('gstreamer0.10-python' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-ugly-plugins' 'mutagen' 'python2-chardet' 'python2-scipy' 'python2-pyquery' 'python2-cssselect' 'deepin-ui' 'python2-dbus' 'sonata' 'cddb-py' 'python2-pycurl' 'python-xlib' 'python2-keybinder2')
arch=('any')
url="http://www.linuxdeepin.com/"
license=('GPL-3')
source=("http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-music-player/deepin-music-player_1+${pkgver}_all.deb" )
md5sums=('0b3ef416f025e5d55038702b7c20cc09')
package() {
tar xzvf ${srcdir}/data.tar.gz -C ${pkgdir}/
cd ${pkgdir}/usr/share/deepin-music-player/src/
sed -i 's_#! /usr/bin/env python$_#! /usr/bin/env python2_' *.py
sed -i 's_#! /usr/bin/python$_#! /usr/bin/python2_' *.py
cd ${pkgdir}/usr/share/deepin-music-player/tools
python2 generate_mo.py
}