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
|
||||
pkgdesc = mpd albums randomizing script
|
||||
pkgver = 1.1.2.r14.g0658b2d
|
||||
pkgver = 1.3.0.r2.gf96680a
|
||||
pkgrel = 1
|
||||
url = https://github.com/axujen/mpdrandom
|
||||
arch = any
|
||||
license = GPL3
|
||||
makedepends = git
|
||||
makedepends = python-setuptools
|
||||
depends = python
|
||||
depends = python-mpd2
|
||||
provides = mpdrandom
|
||||
|
@ -15,4 +16,3 @@ pkgbase = mpdrandom-git
|
|||
sha1sums = 155133e127d3d935d339cff2265a5f728a4ef0b1
|
||||
|
||||
pkgname = mpdrandom-git
|
||||
|
||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -4,14 +4,14 @@
|
|||
_gitauthor=axujen
|
||||
_gitname=mpdrandom
|
||||
pkgname=mpdrandom-git
|
||||
pkgver=1.1.2.r14.g0658b2d
|
||||
pkgver=1.3.0.r2.gf96680a
|
||||
pkgrel=1
|
||||
pkgdesc="mpd albums randomizing script"
|
||||
arch=('any')
|
||||
url="https://github.com/$_gitauthor/$_gitname"
|
||||
license=('GPL3')
|
||||
depends=('python' 'python-mpd2')
|
||||
makedepends=('git')
|
||||
makedepends=('git' 'python-setuptools')
|
||||
provides=('mpdrandom')
|
||||
source=("git+https://github.com/$_gitauthor/$_gitname" 'mpdrandom.service')
|
||||
sha1sums=('SKIP' '155133e127d3d935d339cff2265a5f728a4ef0b1')
|
||||
|
@ -28,7 +28,7 @@ build() {
|
|||
|
||||
package() {
|
||||
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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue