[arch-commits] Commit in xfce4-screenshooter/trunk (2 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Feb 2 20:15:19 UTC 2009


    Date: Monday, February 2, 2009 @ 15:15:19
  Author: andyrtr
Revision: 26055

upgpkg: xfce4-screenshooter 1.5.0-1
    new version 1.5.0, replaces the former screenshooter plugin

Added:
  xfce4-screenshooter/trunk/xfce4-screenshooter.install
Modified:
  xfce4-screenshooter/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   11 ++++++-----
 xfce4-screenshooter.install |   11 +++++++++++
 2 files changed, 17 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-02-02 20:10:23 UTC (rev 26054)
+++ PKGBUILD	2009-02-02 20:15:19 UTC (rev 26055)
@@ -7,21 +7,22 @@
 pkgrel=1
 pkgdesc="plugin that makes screenshots for the Xfce4 panel"
 arch=(i686 x86_64)
-license=('custom')
+license=('GPL2')
 url="http://xfce-goodies.berlios.de/"
 groups=('xfce4-goodies')
-depends=('xfce4-panel')
+depends=('xfce4-panel' 'hicolor-icon-theme')
 makedepends=('pkgconfig')
+install=${pkgname}.install
 options=('!libtool')
 source=(http://goodies.xfce.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
 conflicts=('xfce4-screenshooter-pluin')
 replaces=('xfce4-screenshooter-pluin')
+md5sums=('128b1385fee7f4c15bbc7bfa46b1d6d0')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
     --localstatedir=/var --disable-static
   make || return 1
-  make DESTDIR=${startdir}/pkg install
-  install -Dm644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
+  make DESTDIR=${pkgdir} install || return 1
 }

Added: xfce4-screenshooter.install
===================================================================
--- xfce4-screenshooter.install	                        (rev 0)
+++ xfce4-screenshooter.install	2009-02-02 20:15:19 UTC (rev 26055)
@@ -0,0 +1,11 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}




More information about the arch-commits mailing list