[arch-commits] Commit in xfce4-cpufreq-plugin/trunk (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Sep 18 18:49:30 UTC 2014
Date: Thursday, September 18, 2014 @ 20:49:30
Author: foutrelis
Revision: 221948
Adopt package
Modified:
xfce4-cpufreq-plugin/trunk/PKGBUILD
xfce4-cpufreq-plugin/trunk/xfce4-cpufreq-plugin.install
------------------------------+
PKGBUILD | 31 ++++++++++++++++++-------------
xfce4-cpufreq-plugin.install | 6 ++++--
2 files changed, 22 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-18 18:41:25 UTC (rev 221947)
+++ PKGBUILD 2014-09-18 18:49:30 UTC (rev 221948)
@@ -1,5 +1,6 @@
# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
# Contributor: tobias <tobias funnychar archlinux.org>
pkgname=xfce4-cpufreq-plugin
@@ -12,22 +13,26 @@
groups=('xfce4-goodies')
depends=('xfce4-panel')
makedepends=('intltool')
-install=${pkgname}.install
-source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('dcc56af0e19266956c297d124ba551f4')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('eafa261bf984231ed8487c08decea6d916339d82b52f4bbe748e5c6a95c7f6b6')
build() {
- cd xfce4-cpufreq-plugin-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --disable-static \
- --disable-debug
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-debug
make
}
package() {
- cd xfce4-cpufreq-plugin-${pkgver}
- make DESTDIR="${pkgdir}" install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
+
+# vim:set ts=2 sw=2 et:
Modified: xfce4-cpufreq-plugin.install
===================================================================
--- xfce4-cpufreq-plugin.install 2014-09-18 18:41:25 UTC (rev 221947)
+++ xfce4-cpufreq-plugin.install 2014-09-18 18:49:30 UTC (rev 221948)
@@ -3,9 +3,11 @@
}
post_upgrade() {
- post_install $1
+ post_install
}
post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list