update to python3
This commit is contained in:
parent
a6b74dbbb6
commit
656d5a6839
2 changed files with 11 additions and 13 deletions
12
.SRCINFO
12
.SRCINFO
|
@ -1,20 +1,18 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Mon Oct 29 17:48:14 UTC 2018
|
||||
pkgbase = mpdrandom-git
|
||||
pkgdesc = mpd albums randomizing script
|
||||
pkgver = 1.1.2.r2.g8565ff8
|
||||
pkgver = 1.1.2.r14.g0658b2d
|
||||
pkgrel = 1
|
||||
url = https://github.com/axujen/mpdrandom
|
||||
arch = any
|
||||
license = unknown
|
||||
makedepends = git
|
||||
depends = python2
|
||||
depends = python2-mpd2
|
||||
depends = python
|
||||
depends = python-mpd2
|
||||
provides = mpdrandom
|
||||
source = git+https://github.com/axujen/mpdrandom
|
||||
source = mpdrandom.service
|
||||
md5sums = SKIP
|
||||
md5sums = 6a7b6b63bb1ce777372deac19f420b2e
|
||||
sha1sums = SKIP
|
||||
sha1sums = 155133e127d3d935d339cff2265a5f728a4ef0b1
|
||||
|
||||
pkgname = mpdrandom-git
|
||||
|
||||
|
|
12
PKGBUILD
12
PKGBUILD
|
@ -1,20 +1,20 @@
|
|||
# Author: Axujen <axujen@gmail.com>
|
||||
# Maintainer: qlonik <volodin.n at gmail dot com>
|
||||
# Maintainer: ZaZam <zazaamm at gmail dot com>
|
||||
|
||||
_gitauthor=axujen
|
||||
_gitname=mpdrandom
|
||||
pkgname=mpdrandom-git
|
||||
pkgver=1.1.2.r2.g8565ff8
|
||||
pkgver=1.1.2.r14.g0658b2d
|
||||
pkgrel=1
|
||||
pkgdesc="mpd albums randomizing script"
|
||||
arch=('any')
|
||||
url="https://github.com/$_gitauthor/$_gitname"
|
||||
license=('unknown')
|
||||
depends=('python2' 'python2-mpd2')
|
||||
depends=('python' 'python-mpd2')
|
||||
makedepends=('git')
|
||||
provides=('mpdrandom')
|
||||
source=("git+https://github.com/$_gitauthor/$_gitname" 'mpdrandom.service')
|
||||
md5sums=('SKIP' '6a7b6b63bb1ce777372deac19f420b2e')
|
||||
sha1sums=('SKIP' '155133e127d3d935d339cff2265a5f728a4ef0b1')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_gitname"
|
||||
|
@ -23,12 +23,12 @@ pkgver() {
|
|||
|
||||
build() {
|
||||
cd "$srcdir/$_gitname"
|
||||
python2 setup.py build
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_gitname"
|
||||
python2 setup.py install --prefix="$pkgdir/usr"
|
||||
python setup.py install --prefix="$pkgdir/usr"
|
||||
|
||||
install -Dm644 "$srcdir/mpdrandom.service" "$pkgdir/usr/lib/systemd/user/mpdrandom.service"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue