[arch-commits] Commit in pulseaudio/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Sep 13 21:56:38 UTC 2015
Date: Sunday, September 13, 2015 @ 23:56:38
Author: heftig
Revision: 246021
versioning adjustments
Modified:
pulseaudio/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-13 21:43:51 UTC (rev 246020)
+++ PKGBUILD 2015-09-13 21:56:38 UTC (rev 246021)
@@ -22,9 +22,6 @@
sha256sums=('e7fbc3d50647ab3c022a1761c26d6337c9820ff031cbedcdd6e7b602d2b63359'
'7832fc59df76538ff10aedd297c03cb7ff117235da8bfad26082994bb5b84332')
-_pulsever=$pkgver
-[[ $_pulsever = *.*.* ]] && _pulsever=${_pulsever%.*}
-
prepare() {
cd $pkgbase-$pkgver
}
@@ -58,6 +55,10 @@
install=pulseaudio.install
cd $pkgbase-$pkgver
+
+ _pulsever=$(./git-version-gen .tarball-version)
+ [[ $_pulsever = *.*.* ]] && _pulsever=${_pulsever%.*}
+
make -j1 DESTDIR="$pkgdir" install \
bashcompletiondir=/usr/share/bash-completion/completions
@@ -152,7 +153,7 @@
package_pulseaudio-gconf(){
pkgdesc="GConf support for PulseAudio"
- depends=(pulseaudio gconf)
+ depends=("pulseaudio=$pkgver-$pkgrel" gconf)
mv "$srcdir"/gconf/* "$pkgdir"
}
@@ -159,7 +160,7 @@
package_pulseaudio-zeroconf(){
pkgdesc="Zeroconf support for PulseAudio"
- depends=(pulseaudio avahi openssl)
+ depends=("pulseaudio=$pkgver-$pkgrel" avahi openssl)
mv "$srcdir"/zeroconf/* "$pkgdir"
}
@@ -166,7 +167,7 @@
package_pulseaudio-lirc(){
pkgdesc="IR (lirc) support for PulseAudio"
- depends=(pulseaudio lirc)
+ depends=("pulseaudio=$pkgver-$pkgrel" lirc)
mv "$srcdir"/lirc/* "$pkgdir"
}
@@ -173,7 +174,7 @@
package_pulseaudio-xen(){
pkgdesc="Xen support for PulseAudio"
- depends=(pulseaudio xenstore)
+ depends=("pulseaudio=$pkgver-$pkgrel" xenstore)
license=(GPL2)
mv "$srcdir"/xen/* "$pkgdir"
@@ -181,7 +182,7 @@
package_pulseaudio-jack(){
pkgdesc="Jack support for PulseAudio"
- depends=(pulseaudio jack2)
+ depends=("pulseaudio=$pkgver-$pkgrel" jack2)
mv "$srcdir"/jack/* "$pkgdir"
}
@@ -188,7 +189,7 @@
package_pulseaudio-bluetooth(){
pkgdesc="Bluetooth support for PulseAudio"
- depends=(pulseaudio bluez bluez-libs)
+ depends=("pulseaudio=$pkgver-$pkgrel" bluez bluez-libs)
mv "$srcdir"/bluetooth/* "$pkgdir"
}
@@ -195,7 +196,7 @@
package_pulseaudio-equalizer(){
pkgdesc="Equalizer for PulseAudio"
- depends=(pulseaudio python-pyqt4 fftw)
+ depends=("pulseaudio=$pkgver-$pkgrel" python-pyqt4 fftw)
license=(AGPL3)
mv "$srcdir"/equalizer/* "$pkgdir"
More information about the arch-commits
mailing list