feat(PKGBUILD): update and use python2
This commit is contained in:
parent
761a4f1aa3
commit
a6b74dbbb6
2 changed files with 12 additions and 10 deletions
10
.SRCINFO
10
.SRCINFO
|
@ -1,13 +1,15 @@
|
||||||
|
# Generated by mksrcinfo v8
|
||||||
|
# Mon Oct 29 17:48:14 UTC 2018
|
||||||
pkgbase = mpdrandom-git
|
pkgbase = mpdrandom-git
|
||||||
pkgdesc = mpd albums randomizing script
|
pkgdesc = mpd albums randomizing script
|
||||||
pkgver = 1.1.r5.geb67e9a
|
pkgver = 1.1.2.r2.g8565ff8
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://github.com/axujen/mpdrandom
|
url = https://github.com/axujen/mpdrandom
|
||||||
arch = any
|
arch = any
|
||||||
license = unknown
|
license = unknown
|
||||||
makedepends = git
|
makedepends = git
|
||||||
depends = python
|
depends = python2
|
||||||
depends = python-mpd2
|
depends = python2-mpd2
|
||||||
provides = mpdrandom
|
provides = mpdrandom
|
||||||
source = git+https://github.com/axujen/mpdrandom
|
source = git+https://github.com/axujen/mpdrandom
|
||||||
source = mpdrandom.service
|
source = mpdrandom.service
|
||||||
|
|
12
PKGBUILD
12
PKGBUILD
|
@ -4,16 +4,16 @@
|
||||||
_gitauthor=axujen
|
_gitauthor=axujen
|
||||||
_gitname=mpdrandom
|
_gitname=mpdrandom
|
||||||
pkgname=mpdrandom-git
|
pkgname=mpdrandom-git
|
||||||
pkgver=1.1.r5.geb67e9a
|
pkgver=1.1.2.r2.g8565ff8
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="mpd albums randomizing script"
|
pkgdesc="mpd albums randomizing script"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/$_gitauthor/$_gitname"
|
url="https://github.com/$_gitauthor/$_gitname"
|
||||||
license=('unknown')
|
license=('unknown')
|
||||||
depends=('python' 'python-mpd2')
|
depends=('python2' 'python2-mpd2')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
provides=('mpdrandom')
|
provides=('mpdrandom')
|
||||||
source=('git+https://github.com/axujen/mpdrandom' 'mpdrandom.service')
|
source=("git+https://github.com/$_gitauthor/$_gitname" 'mpdrandom.service')
|
||||||
md5sums=('SKIP' '6a7b6b63bb1ce777372deac19f420b2e')
|
md5sums=('SKIP' '6a7b6b63bb1ce777372deac19f420b2e')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
@ -23,12 +23,12 @@ pkgver() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$_gitname"
|
cd "$srcdir/$_gitname"
|
||||||
python setup.py build
|
python2 setup.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$_gitname"
|
cd "$srcdir/$_gitname"
|
||||||
python setup.py install --prefix="$pkgdir/usr"
|
python2 setup.py install --prefix="$pkgdir/usr"
|
||||||
|
|
||||||
install -Dm644 "$srcdir/mpdrandom.service" "$pkgdir/usr/lib/systemd/user/mpdrandom.service"
|
install -Dm644 "$srcdir/mpdrandom.service" "$pkgdir/usr/lib/systemd/user/mpdrandom.service"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue