diff options
author | EHfive | 2018-08-09 14:56:10 +0800 |
---|---|---|
committer | EHfive | 2018-08-09 14:56:10 +0800 |
commit | 1b62c21f0b19a3fa488575de4357fd590f58cd66 (patch) | |
tree | ef91bc8a96446667c8eeb14f99032680cf3f8d93 /PKGBUILD | |
parent | dbc0014091cdf11ca21fede77061fc3ef4151e19 (diff) | |
download | aur-1b62c21f0b19a3fa488575de4357fd590f58cd66.tar.gz |
add depends & update pkgver gen method
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,13 +1,13 @@ # Maintainer: EHfive <eh5@sokka.cn> pkgname=pulseaudio-modules-bt-git -pkgver=578f583 +pkgver=r14.a8be85a pkgrel=1 pkgdesc="PulseAudio Bluetooth modules support Sony LDAC Codec(A2DP Source)" arch=("i686" "x86_64" "armv7h") url="https://github.com/EHfive/pulseaudio-modules-bt" license=('GPL3') -depends=("pulseaudio>=12.0" "bluez>=5.0" "bluez-libs>=5.0" "sbc") +depends=("pulseaudio>=12.0" "libpulse>=12.0" "bluez>=5.0" "bluez-libs>=5.0" "sbc") makedepends=("cmake>=3.0" "make" ) provides=("pulseaudio-bluetooth") conflicts=("pulseaudio-bluetooth") @@ -17,11 +17,11 @@ source=("git+https://github.com/EHfive/pulseaudio-modules-bt" "git+https://github.com/pulseaudio/pulseaudio.git" "git+https://android.googlesource.com/platform/external/libldac.git") noextract=() -md5sums=('SKIP' 'SKIP' 'SKIP') #autofill using updpkgsums +md5sums=('SKIP' 'SKIP' 'SKIP') pkgver() { cd "$srcdir/pulseaudio-modules-bt" - git describe --always | sed "s/-/./g" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |