diff --git a/.SRCINFO b/.SRCINFO index 040ebf7..8d60ce7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,8 @@ pkgbase = quodlibet-git pkgdesc = An audio library tagger, manager and player - pkgver = r7848.84a0f2e - pkgrel = 3 - url = https://github.com/quodlibet/quodlibet - install = quodlibet-git.install + pkgver = r9120.37e477f1e + pkgrel = 1 + url = https://quodlibet.readthedocs.io arch = any license = GPL2 makedepends = intltool diff --git a/PKGBUILD b/PKGBUILD index 417eabb..6da9be1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,13 +1,12 @@ # Maintainer: Christoph Reiter pkgname=quodlibet-git -_srcname=quodlibet -pkgver=r7848.84a0f2e -pkgrel=3 +pkgver=r9120.37e477f1e +pkgrel=1 pkgdesc="An audio library tagger, manager and player" arch=('any') license=('GPL2') -url="https://github.com/quodlibet/quodlibet" +url="https://quodlibet.readthedocs.io" depends=('gtk3' 'python2-gobject' 'python2-dbus' 'python2-cairo' 'mutagen' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-ugly' 'desktop-file-utils' 'python2-futures' 'python2-feedparser' @@ -25,10 +24,14 @@ provides=('quodlibet-plugins' 'quodlibet') conflicts=('quodlibet-plugins' 'quodlibet') replaces=('quodlibet-plugins') options=('!makeflags') -install=${pkgname}.install source=(${pkgname}::git+https://github.com/quodlibet/quodlibet.git) sha1sums=('SKIP') +pkgver() { + cd ${pkgname} + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + build() { cd ${pkgname}/quodlibet python2 setup.py build @@ -36,10 +39,5 @@ build() { package() { cd ${pkgname}/quodlibet - python2 setup.py install --root="${pkgdir}" -} - -pkgver() { - cd ${pkgname} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1 } diff --git a/quodlibet-git.install b/quodlibet-git.install deleted file mode 100644 index 701dd39..0000000 --- a/quodlibet-git.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} \ No newline at end of file