[arch-commits] Commit in xfce4-pulseaudio-plugin/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Mon Mar 21 12:53:36 UTC 2022
Date: Monday, March 21, 2022 @ 12:53:36
Author: foutrelis
Revision: 440413
xfce4-pulseaudio-plugin 0.4.3-2: adopt + build from tarball
Modified:
xfce4-pulseaudio-plugin/trunk/PKGBUILD
----------+
PKGBUILD | 42 ++++++++++++++----------------------------
1 file changed, 14 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-21 11:05:59 UTC (rev 440412)
+++ PKGBUILD 2022-03-21 12:53:36 UTC (rev 440413)
@@ -1,4 +1,5 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
# Contributor: <alcasa dot mz at gmail dot com>
# Contributor: twa022 <twa022 at gmail dot com>
@@ -5,46 +6,31 @@
pkgname=xfce4-pulseaudio-plugin
pkgver=0.4.3
-pkgrel=1
-pkgdesc="Pulseaudio plugin for Xfce4 panel"
+pkgrel=2
+pkgdesc="Pulseaudio plugin for the Xfce4 panel"
arch=('x86_64')
+url="https://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin"
license=('GPL2')
-url="https://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin"
groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libpulse' 'libkeybinder3' 'gtk-update-icon-cache' 'libnotify')
-makedepends=('intltool' 'dbus-glib' git xfce4-dev-tools)
+depends=('xfce4-panel' 'libpulse' 'libkeybinder3' 'libnotify')
+makedepends=('intltool')
optdepends=('pavucontrol: default pulseaudio mixer')
-_commit=9de2b7865ecb95bdd2cbaae00a17b23ae8455fe5 # tags/xfce4-pulseaudio-plugin-0.4.3^0
source=("git+https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/#commit=$_commit")
-sha256sums=('SKIP')
+source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('5a518237e2137341d8ca6584938950525e20c28a0177e30ecaea3ba8e7a2615b')
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^xfce4-pulseaudio-plugin-//;s/-/+/g'
-}
+build() {
+ cd $pkgname-$pkgver
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd "$pkgname"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
- --localstatedir=/var \
- --enable-keybinder \
- --enable-libnotify \
- --enable-maintainer-mode
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
+ --localstatedir=/var
make
}
package() {
- cd "$pkgname"
- make DESTDIR="${pkgdir}" install
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list