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

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 18 20:57:00 UTC 2014


    Date: Thursday, September 18, 2014 @ 22:57:00
  Author: foutrelis
Revision: 222023

Adopt package

Modified:
  orage/trunk/PKGBUILD
  orage/trunk/orage.install

---------------+
 PKGBUILD      |   32 +++++++++++++++++++-------------
 orage.install |    4 +++-
 2 files changed, 22 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-18 20:56:21 UTC (rev 222022)
+++ PKGBUILD	2014-09-18 20:57:00 UTC (rev 222023)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
 # Contributor: Tobias Kieslich <tobias (at) archlinux.org>
 
 pkgname=orage
@@ -12,23 +13,28 @@
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'libical' 'popt' 'libnotify')
 makedepends=('intltool')
+conflicts=('xfcalendar')
 replaces=('xfcalendar')
-install=${pkgname}.install
-source=(http://archive.xfce.org/src/apps/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('1d19e097958b710005789973d385ca13338b26f9')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('6cb854f3437e31bab23abfce97bd10afa1636a9a1480d80e14e26c85d06be7c0')
 
 build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-	--sysconfdir=/etc \
-	--libexecdir=/usr/lib \
-	--localstatedir=/var \
-	--enable-libical \
-	--disable-debug 
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --enable-libical \
+    --disable-debug
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }
+
+# vim:set ts=2 sw=2 et:

Modified: orage.install
===================================================================
--- orage.install	2014-09-18 20:56:21 UTC (rev 222022)
+++ orage.install	2014-09-18 20:57:00 UTC (rev 222023)
@@ -1,6 +1,6 @@
 post_install() {
+  update-desktop-database -q
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-desktop-database -q
 }
 
 post_upgrade() {
@@ -10,3 +10,5 @@
 post_remove() {
   post_install
 }
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list