summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5df248358537540a7f0f48197c2e6decd952498f (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.1.3
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: