[arch-commits] Commit in xfce4-power-manager/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Dec 19 04:40:56 UTC 2017
Date: Tuesday, December 19, 2017 @ 04:40:55
Author: foutrelis
Revision: 313325
upgpkg: xfce4-power-manager 1.6.1-1
New upstream release.
Modified:
xfce4-power-manager/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-19 03:48:14 UTC (rev 313324)
+++ PKGBUILD 2017-12-19 04:40:55 UTC (rev 313325)
@@ -3,8 +3,7 @@
# Contributor: Tobias Kieslich <tobias funnychar archlinux.org>
pkgname=xfce4-power-manager
-pkgver=1.6.0.41.g9daecb5
-_commit=9daecb5a1763035db6adc83f45a7a01349872f53
+pkgver=1.6.1
pkgrel=1
pkgdesc="Power manager for Xfce desktop"
arch=('x86_64')
@@ -13,20 +12,14 @@
groups=('xfce4')
depends=('libxfce4ui' 'upower' 'libnotify' 'hicolor-icon-theme')
optdepends=('xfce4-panel: for the Xfce panel plugin')
-makedepends=('intltool' 'xfce4-panel' 'git' 'xfce4-dev-tools' 'exo' 'python')
-#source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-source=(git://git.xfce.org/xfce/xfce4-power-manager#commit=$_commit)
-sha256sums=('SKIP')
+makedepends=('intltool' 'xfce4-panel')
+source=(http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('1ea825452343b895566068018b6d5078608f8f46ce8075ba6bbb4b848f48656b')
-pkgver() {
- cd "$srcdir/$pkgname"
- git describe --long | sed 's/^xfce4-power-manager-//;s/-/./g'
-}
-
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
- ./autogen.sh \
+ ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
@@ -39,7 +32,7 @@
}
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list