[arch-commits] Commit in xfce4-cpufreq-plugin/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 20:50:57 UTC 2020


    Date: Saturday, May 16, 2020 @ 20:50:56
  Author: felixonmars
Revision: 384832

archrelease: copy trunk to staging-x86_64

Added:
  xfce4-cpufreq-plugin/repos/staging-x86_64/
  xfce4-cpufreq-plugin/repos/staging-x86_64/PKGBUILD
    (from rev 384831, xfce4-cpufreq-plugin/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: xfce4-cpufreq-plugin/repos/staging-x86_64/PKGBUILD (from rev 384831, xfce4-cpufreq-plugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 20:50:56 UTC (rev 384832)
@@ -0,0 +1,38 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
+# Contributor: tobias <tobias funnychar archlinux.org>
+
+pkgname=xfce4-cpufreq-plugin
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="CPU frequency plugin for the Xfce4 panel"
+arch=('x86_64')
+license=('GPL2')
+url="https://docs.xfce.org/panel-plugins/xfce4-cpufreq-plugin"
+groups=('xfce4-goodies')
+depends=('xfce4-panel')
+makedepends=('intltool')
+source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('c5e044c0dc401d2066f208a3df82a588b3e51ff01425f155d0a1d0f8fce8f5b5')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-static \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list