[arch-commits] Commit in basket/trunk (PKGBUILD basket.install)

Ronald van Haren ronald at archlinux.org
Fri Apr 2 12:51:01 UTC 2010


    Date: Friday, April 2, 2010 @ 08:51:01
  Author: ronald
Revision: 75679

upgpkg: basket 1.80-1
update to beta qt4 version; use build/package functions

Added:
  basket/trunk/basket.install
Modified:
  basket/trunk/PKGBUILD

----------------+
 PKGBUILD       |   30 ++++++++++++++++++++----------
 basket.install |   12 ++++++++++++
 2 files changed, 32 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-02 10:44:38 UTC (rev 75678)
+++ PKGBUILD	2010-04-02 12:51:01 UTC (rev 75679)
@@ -1,22 +1,32 @@
 # $Id$
-# Maintainer: James Rayner <james at archlinux.org>
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: James Rayner <james at archlinux.org>
 # Contributor: lucke <lucke at o2 dot pl>
 
 pkgname=basket
-pkgver=1.0.3.1
-pkgrel=2
+pkgver=1.80
+pkgrel=1
 pkgdesc="All-purpose notes taker for KDE."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://basket.kde.org/"
-depends=('kdelibs3' 'gpgme')
+depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme')
+makedepends=('cmake' 'automoc4')
+install=$pkgname.install
 license=('GPL')
-source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.gz)
-md5sums=('5a58bbe69c4a80a40747ed80ebb5b3b9')
+source=(http://basket.kde.org/downloads/$pkgname-$pkgver.tar.bz2)
+md5sums=('77467400907e6f496ef5f90a2f1c07ab')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  . /etc/profile.d/kde3.sh
-  ./configure --prefix=/opt/kde --without-arts
+  cd $srcdir/$pkgname-$pkgver
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr
+
   make || return 1
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$startdir/pkg install
 }

Added: basket.install
===================================================================
--- basket.install	                        (rev 0)
+++ basket.install	2010-04-02 12:51:01 UTC (rev 75679)
@@ -0,0 +1,12 @@
+post_install() {
+        xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+        post_install
+}
+
+post_remove() {
+        post_install
+}
+




More information about the arch-commits mailing list