aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-cpufreq-plugin
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-07-05 17:51:35 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-07-05 17:51:35 +0000
commit0a7a50048111d027171274db84500708b07dc722 (patch)
tree2466a361209077798e605f8bb7d2393ab8e7f36f /community/xfce4-cpufreq-plugin
parente917d3504bc548744ef27e6e3e712ad6dae88e54 (diff)
downloadaports-0a7a50048111d027171274db84500708b07dc722.tar.bz2
aports-0a7a50048111d027171274db84500708b07dc722.tar.xz
community/xfce4-cpufreq-plugin: upgrade to 1.2.0 and modernize
Diffstat (limited to 'community/xfce4-cpufreq-plugin')
-rw-r--r--community/xfce4-cpufreq-plugin/APKBUILD21
1 files changed, 8 insertions, 13 deletions
diff --git a/community/xfce4-cpufreq-plugin/APKBUILD b/community/xfce4-cpufreq-plugin/APKBUILD
index 3202c42130..f68cfd3f09 100644
--- a/community/xfce4-cpufreq-plugin/APKBUILD
+++ b/community/xfce4-cpufreq-plugin/APKBUILD
@@ -1,21 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-cpufreq-plugin
-pkgver=1.1.3
-pkgrel=2
+pkgver=1.2.0
+pkgrel=0
pkgdesc="CPU frequency plugin for the Xfce4 panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
arch="all"
license="GPL-2.0"
-depends=
makedepends="xfce4-panel-dev libxfce4ui-dev"
-install=
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/${pkgver%.*}/xfce4-cpufreq-plugin-${pkgver}.tar.bz2"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -23,15 +21,12 @@ build() {
--sysconfdir=/etc \
--libexecdir=/usr/lib/xfce4 \
--localstatedir=/var \
- --disable-static \
- || return 1
- make || return 1
+ --disable-static
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}
-md5sums="859122da0a8cd991ee2fbeee434bc948 xfce4-cpufreq-plugin-1.1.3.tar.bz2"
-sha256sums="74a162c7e101db0495d5da147aba1f404c33544f04e8c34d7d1d705668102d33 xfce4-cpufreq-plugin-1.1.3.tar.bz2"
-sha512sums="fe67abc120c0715b653258abbafab19386289ce0a373e5053e544484219c3b05aafe1e84a23721f6603043db5aac24dc1230f2e7d4974ec483d5120aca11ca25 xfce4-cpufreq-plugin-1.1.3.tar.bz2"
+sha512sums="594124808fffaed514719a50e05e75612f5c1b7a802df5bb7caf65814c2c7412b9575ce916c8cd0da1360987d198c61ab078efd4a462e756248012999e597072 xfce4-cpufreq-plugin-1.2.0.tar.bz2"