Last active
July 19, 2016 16:54
-
-
Save olebowle/5f21620fe59768abeb692e90fd7e1a73 to your computer and use it in GitHub Desktop.
googleplaydownloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Yamakaky <yamakaky@yamaworld.fr> | |
pkgname=googleplaydownloader | |
_svnrev=72 | |
pkgver=2.0 | |
pkgrel=1 | |
pkgdesc="A graphical software to download APKs from the Google Play store." | |
arch=('any') | |
url="https://codingteam.net/project/$pkgname" | |
license=('AGPL') | |
depends=('python2' | |
'python2-configparser' | |
'python2-protobuf' | |
'python2-requests' | |
'wxpython' | |
'python2-ndg-httpsclient') | |
optdepends=('java-runtime: needed for autogeneration of a new AndroiID') | |
source=("$pkgname-$pkgver::svn+http://svn.codingteam.net/$pkgname#revision=$_svnrev") | |
sha256sums=('SKIP') | |
prepare() { | |
sed -i 's/dist/site/' $pkgname-$pkgver/debian/wrapper/$pkgname | |
} | |
package() { | |
cd $pkgname-$pkgver | |
python2 setup.py install --root="$pkgdir" --optimize=1 | |
cd debian | |
install -Dm755 wrapper/$pkgname "$pkgdir/usr/bin/$pkgname" | |
install -Dm644 $pkgname.xpm "$pkgdir/usr/share/pixmaps/$pkgname.xpm" | |
install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment