feat(mpdrandom-git): initial release of mpdrandom
This commit is contained in:
commit
eac6f52317
3 changed files with 58 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
@ -0,0 +1,16 @@
|
|||
pkgbase = mpdrandom-git
|
||||
pkgdesc = mpd albums randomizing script
|
||||
pkgver = 1.1.r5.geb67e9a
|
||||
pkgrel = 1
|
||||
url = https://github.com/axujen/mpdrandom
|
||||
arch = any
|
||||
license = unknown
|
||||
makedepends = git
|
||||
depends = python
|
||||
depends = python-mpd2
|
||||
provides = mpdrandom
|
||||
source = git+https://github.com/axujen/mpdrandom
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = mpdrandom-git
|
||||
|
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
*~
|
||||
|
||||
pkg/
|
||||
src/
|
||||
|
||||
*.tar*
|
||||
|
||||
mpdrandom/
|
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Author: Axujen <axujen@gmail.com>
|
||||
# Maintainer: qlonik <volodin.n at gmail dot com>
|
||||
|
||||
_gitauthor=axujen
|
||||
_gitname=mpdrandom
|
||||
pkgname=mpdrandom-git
|
||||
pkgver=1.1.r5.geb67e9a
|
||||
pkgrel=1
|
||||
pkgdesc="mpd albums randomizing script"
|
||||
arch=('any')
|
||||
url="https://github.com/$_gitauthor/$_gitname"
|
||||
license=('unknown')
|
||||
depends=('python' 'python-mpd2')
|
||||
makedepends=('git')
|
||||
provides=('mpdrandom')
|
||||
source=('git+https://github.com/axujen/mpdrandom')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/$_gitname"
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_gitname"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_gitname"
|
||||
python setup.py install --prefix="$pkgdir/usr"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue