Various updates

Update pkgver
Update url
Remove install file, shouldn't be needed
Create pyc files
This commit is contained in:
Christoph Reiter 2017-05-17 15:44:06 +02:00
parent a2c94b18a1
commit 0e721127a9
3 changed files with 12 additions and 27 deletions

View File

@ -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

View File

@ -1,13 +1,12 @@
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
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
}

View File

@ -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
}