added setuptools as makedeps and corrected package function
This commit is contained in:
parent
727c4c23c1
commit
f0c1cb4fdf
2 changed files with 5 additions and 5 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,11 +1,12 @@
|
||||||
pkgbase = mpdrandom-git
|
pkgbase = mpdrandom-git
|
||||||
pkgdesc = mpd albums randomizing script
|
pkgdesc = mpd albums randomizing script
|
||||||
pkgver = 1.1.2.r14.g0658b2d
|
pkgver = 1.3.0.r2.gf96680a
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/axujen/mpdrandom
|
url = https://github.com/axujen/mpdrandom
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL3
|
license = GPL3
|
||||||
makedepends = git
|
makedepends = git
|
||||||
|
makedepends = python-setuptools
|
||||||
depends = python
|
depends = python
|
||||||
depends = python-mpd2
|
depends = python-mpd2
|
||||||
provides = mpdrandom
|
provides = mpdrandom
|
||||||
|
@ -15,4 +16,3 @@ pkgbase = mpdrandom-git
|
||||||
sha1sums = 155133e127d3d935d339cff2265a5f728a4ef0b1
|
sha1sums = 155133e127d3d935d339cff2265a5f728a4ef0b1
|
||||||
|
|
||||||
pkgname = mpdrandom-git
|
pkgname = mpdrandom-git
|
||||||
|
|
||||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -4,14 +4,14 @@
|
||||||
_gitauthor=axujen
|
_gitauthor=axujen
|
||||||
_gitname=mpdrandom
|
_gitname=mpdrandom
|
||||||
pkgname=mpdrandom-git
|
pkgname=mpdrandom-git
|
||||||
pkgver=1.1.2.r14.g0658b2d
|
pkgver=1.3.0.r2.gf96680a
|
||||||
pkgrel=1
|
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=('GPL3')
|
license=('GPL3')
|
||||||
depends=('python' 'python-mpd2')
|
depends=('python' 'python-mpd2')
|
||||||
makedepends=('git')
|
makedepends=('git' 'python-setuptools')
|
||||||
provides=('mpdrandom')
|
provides=('mpdrandom')
|
||||||
source=("git+https://github.com/$_gitauthor/$_gitname" 'mpdrandom.service')
|
source=("git+https://github.com/$_gitauthor/$_gitname" 'mpdrandom.service')
|
||||||
sha1sums=('SKIP' '155133e127d3d935d339cff2265a5f728a4ef0b1')
|
sha1sums=('SKIP' '155133e127d3d935d339cff2265a5f728a4ef0b1')
|
||||||
|
@ -28,7 +28,7 @@ build() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$_gitname"
|
cd "$srcdir/$_gitname"
|
||||||
python setup.py install --prefix="$pkgdir/usr"
|
python setup.py install --root="$pkgdir" --optimize=1
|
||||||
|
|
||||||
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