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

Evangelos Foutras foutrelis at archlinux.org
Sun Feb 26 19:27:26 UTC 2012


    Date: Sunday, February 26, 2012 @ 14:27:25
  Author: foutrelis
Revision: 151501

Style fixes; switch to sha256sums; remove versioned deps; add modelines.

Modified:
  xfce4-sensors-plugin/trunk/PKGBUILD
  xfce4-sensors-plugin/trunk/xfce4-sensors-plugin.install

------------------------------+
 PKGBUILD                     |   38 +++++++++++++++++++++-----------------
 xfce4-sensors-plugin.install |    6 ++++--
 2 files changed, 25 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-26 19:27:15 UTC (rev 151500)
+++ PKGBUILD	2012-02-26 19:27:25 UTC (rev 151501)
@@ -10,29 +10,33 @@
 license=('GPL2')
 url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
 groups=('xfce4-goodies')
-depends=('xfce4-panel' 'lm_sensors' 'libnotify>=0.7.1' 'hicolor-icon-theme') #'libxfcegui4' 
-makedepends=('pkgconfig' 'intltool' 'hddtemp>=0.3.beta15.45-2' 'gnu-netcat' 'xfce4-dev-tools')
+depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme')
+makedepends=('intltool' 'hddtemp' 'gnu-netcat' 'xfce4-dev-tools')
 optdepends=('gnu-netcat: for hddtemp access')
-options=(!libtool !makeflags)
+options=('!libtool' '!makeflags')
 install=${pkgname}.install
-source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.2/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('2edf376d140449ca42c4e4f591e626f8')
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3dd27348f7b38b55e53aa8d851cdb80e090b8830ca9e705bf32641679f08d326')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-	--sysconfdir=/etc \
-	--libexecdir=/usr/lib \
-	--localstatedir=/var \
-	--datadir=/usr/share \
-	--datarootdir=/usr/share \
-	--disable-static \
-	--with-pathhddtemp=/usr/sbin/hddtemp \
-	--disable-debug
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --datadir=/usr/share \
+    --datarootdir=/usr/share \
+    --disable-static \
+    --with-pathhddtemp=/usr/sbin/hddtemp \
+    --disable-debug
   make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }
+
+# vim:set ts=2 sw=2 et:

Modified: xfce4-sensors-plugin.install
===================================================================
--- xfce4-sensors-plugin.install	2012-02-26 19:27:15 UTC (rev 151500)
+++ xfce4-sensors-plugin.install	2012-02-26 19:27:25 UTC (rev 151501)
@@ -3,9 +3,11 @@
 }
 
 post_upgrade() {
-  post_install $1
+  post_install
 }
 
 post_remove() {
-  post_install $1
+  post_install
 }
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list