[arch-commits] Commit in lancelot/trunk (PKGBUILD lancelot.install)
Pierre Schmitz
pierre at archlinux.org
Sun Sep 14 09:08:48 UTC 2008
Date: Sunday, September 14, 2008 @ 05:08:47
Author: pierre
Revision: 12393
upgpkg: lancelot 1.0.3-1
Added:
lancelot/trunk/lancelot.install
Modified:
lancelot/trunk/PKGBUILD
------------------+
PKGBUILD | 12 +++++++-----
lancelot.install | 12 ++++++++++++
2 files changed, 19 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-09-14 08:53:16 UTC (rev 12392)
+++ PKGBUILD 2008-09-14 09:08:47 UTC (rev 12393)
@@ -2,23 +2,25 @@
# Maintainer: Pierre Schmitz <pierre at archlinux.de>
pkgname=lancelot
-pkgver=1.0
+pkgver=1.0.3
pkgrel=1
pkgdesc="An application launcher menu (or ALI) for KDE 4 designed to provide a place from which all your jobs begin."
arch=('i686' 'x86_64')
url='http://lancelot.fomentgroup.org'
license=('GPL' 'LGPL' 'FDL')
-depends=('kdebase-workspace')
+depends=('kdebase-workspace' 'shared-mime-info' 'xdg-utils')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'python')
options=('docs')
-source=("http://downloads.sourceforge.net/lancelot-menu/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('20ad6b20817ac0f0e6903930c27e7d85')
+install='lancelot.install'
+#source=("http://downloads.sourceforge.net/lancelot-menu/${pkgname}-${pkgver}.tar.bz2")
+source=("ftp://ftp.archlinux.org/other/lancelot/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('4af213314b823dc4a96242aa9d96e009')
build() {
cd $srcdir
mkdir build
cd build
- cmake ../${pkgname} \
+ cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
Added: lancelot.install
===================================================================
--- lancelot.install (rev 0)
+++ lancelot.install 2008-09-14 09:08:47 UTC (rev 12393)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list