summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Wojdyla2020-10-14 21:59:31 +0200
committerMichal Wojdyla2020-10-14 21:59:31 +0200
commit740a797771ed913ab203b34d5c2ffd89f6a8b6f7 (patch)
treeb89b07b75b2b21d8fbb720fdc47799480fcbae77
parent288845cbdd00c3ac717ff4316e1c83f937338a24 (diff)
downloadaur-ccx2-git.tar.gz
update
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 22 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8b6bc9b93f..4f1a010e989 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,19 @@
pkgbase = ccx2-git
- pkgdesc = Console client for xmms2
- pkgver = 0.2.0.18.g04e2f10
- pkgrel = 3
- url = http://github.com/palbo/ccx2
+ pkgdesc = Console client for xmms2 (git version)
+ pkgver = v0.2.0.r19.g7564773
+ pkgrel = 1
+ url = https://pflouret.github.io/ccx2/
arch = any
license = BSD
depends = ncurses
depends = python2
depends = xmms2
- optdepends = python2-imaging: display Cover Art
- optdepends = python2-lxml: display lyrics
+ optdepends = pil: for cover art display
+ optdepends = python2-lxml: for lyrics display
+ optdepends = python2-simplejson: for lyrics display, if python < 2.6
provides = ccx2
conflicts = ccx2
- source = git://github.com/palbo/ccx2.git
+ source = git+https://github.com/pflouret/ccx2
md5sums = SKIP
pkgname = ccx2-git
diff --git a/PKGBUILD b/PKGBUILD
index 17d75d3a56e..f8964d4abb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,35 +3,38 @@
_pkgname=ccx2
pkgname=ccx2-git
-pkgver=0.2.0.18.g04e2f10
-pkgrel=3
-pkgdesc="Console client for xmms2"
+pkgver=v0.2.0.r19.g7564773
+pkgrel=1
+pkgdesc="Console client for xmms2 (git version)"
arch=('any')
-url="http://github.com/palbo/ccx2"
+url="https://pflouret.github.io/ccx2/"
license=('BSD')
depends=('ncurses' 'python2' 'xmms2')
-optdepends=('python2-imaging: display Cover Art'
- 'python2-lxml: display lyrics')
+optdepends=("pil: for cover art display"
+ "python2-lxml: for lyrics display"
+ "python2-simplejson: for lyrics display, if python < 2.6")
provides=('ccx2')
conflicts=('ccx2')
-source=('git://github.com/palbo/ccx2.git')
+source=('git+https://github.com/pflouret/ccx2')
md5sums=('SKIP')
pkgver() {
- cd $_pkgname
- git describe --always | sed -e 's|-|.|g' -e 's|v||'
+ cd "$_pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd $srcdir/$_pkgname
+ cd "$_pkgname"
python2 setup.py build
}
package() {
- cd $srcdir/$_pkgname
+ cd "$_pkgname"
python2 setup.py install --root=$pkgdir
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/ccx2/LICENSE"
+ install -D -m644 LICENSE.urwid "$pkgdir/usr/share/licenses/ccx2/LICENSE.urwid"
}
+