summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 04a2c8e68811195a4102016745570f9945ebf9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Kai Yuan <kent.yuan @t gmail d@t com>
pkgname=zhuaxia
pkgver=3.2.8
pkgrel=1
pkgdesc="cli tool to download mp3 from xiami.com and music.163.com"
arch=('any')
url="https://github.com/sk1418/zhuaxia"
license=('MIT')
makedepends=('git')
depends=('python2-requests' 'python2-crypto' 'mutagen' 'python2-beautifulsoup4' 'python2-setuptools')
conflicts=('python2-mutagen')
sha256sums=('SKIP')
sha512sums=('SKIP')
source=("$pkgname::git+http://github.com/sk1418/${pkgname%-*}.git")

package() {
  cd ${pkgname}
  find . -name "*.py" |xargs sed -i "s|/usr/bin/python|&2|" 
  python2 setup.py install --root="$pkgdir" --prefix="/usr"
}

# vim:set ts=2 sw=2 et: