summaryrefslogtreecommitdiff
path: root/extra/kaffeine
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-13 14:21:34 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-13 14:21:34 -0300
commit4a47b2a0e019de14d474e353a601ca6bf47e90e5 (patch)
tree69e20048be17aa12e6342ebcafb0cf9cdbfee32d /extra/kaffeine
parent149750d28420a7b59fab5501ab9aaca095f6fa46 (diff)
parentb5f690637837ff269bf5d248ee2dc37ea5236ca8 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/packagekit/PKGBUILD community/bird/PKGBUILD community/camlp5/PKGBUILD community/exim/PKGBUILD community/ibus-table-extraphrase/PKGBUILD community/mingw32-gcc-base/PKGBUILD community/mingw32-gcc/PKGBUILD community/torcs/PKGBUILD core/db/PKGBUILD core/iproute2/PKGBUILD core/libsasl/PKGBUILD core/openldap/PKGBUILD core/pam/PKGBUILD core/util-linux/PKGBUILD extra/cyrus-sasl/PKGBUILD extra/ffmpeg/PKGBUILD extra/kdelibs/PKGBUILD extra/libreoffice/PKGBUILD extra/php/PKGBUILD extra/postfix/PKGBUILD extra/python-lxml/PKGBUILD extra/rdesktop/PKGBUILD extra/redland/PKGBUILD extra/subversion/PKGBUILD extra/tidyhtml/PKGBUILD extra/transmission/PKGBUILD extra/windowmaker/PKGBUILD kde-unstable/calligra/PKGBUILD multilib/lib32-libdrm/PKGBUILD multilib/lib32-libdrm/no-pthread-stubs.patch multilib/lib32-openssl/PKGBUILD
Diffstat (limited to 'extra/kaffeine')
-rw-r--r--extra/kaffeine/PKGBUILD15
-rw-r--r--extra/kaffeine/kaffeine.install12
2 files changed, 20 insertions, 7 deletions
diff --git a/extra/kaffeine/PKGBUILD b/extra/kaffeine/PKGBUILD
index 5fc44e597..29feeb073 100644
--- a/extra/kaffeine/PKGBUILD
+++ b/extra/kaffeine/PKGBUILD
@@ -1,19 +1,21 @@
-# $Id: PKGBUILD 122312 2011-05-03 18:56:11Z tpowa $
+# $Id: PKGBUILD 146418 2012-01-10 23:37:34Z eric $
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=kaffeine
pkgver=1.2.2
-pkgrel=1
+pkgrel=2
pkgdesc='KDE media player'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
url="http://kaffeine.kde.org"
depends=('kdelibs' 'kdebase-runtime' 'xine-lib')
-makedepends=('pkgconfig' 'cmake' 'automoc4')
+makedepends=('pkg-config' 'cmake' 'automoc4')
+install=kaffeine.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('690e48d2e5fe123887109aa9b1bc1c31')
build() {
- cd $srcdir
+ cd "$srcdir"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -24,7 +26,6 @@ build() {
}
package() {
- cd $srcdir/build
- make DESTDIR=$pkgdir install
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
}
-md5sums=('690e48d2e5fe123887109aa9b1bc1c31')
diff --git a/extra/kaffeine/kaffeine.install b/extra/kaffeine/kaffeine.install
new file mode 100644
index 000000000..5c501dc49
--- /dev/null
+++ b/extra/kaffeine/kaffeine.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}