diff options
author | xiota | 2023-10-26 05:22:41 -0700 |
---|---|---|
committer | xiota | 2023-10-26 05:31:19 -0700 |
commit | 6e994e441c3b274c89d1a195a62ed21c111cdc6a (patch) | |
tree | 41046136e3cfee1c8af043c26e49ce69f32cf137 | |
parent | 4ea2ed977b30157b9b1e072ead39b5dbf83633a2 (diff) | |
download | aur-6e994e441c3b274c89d1a195a62ed21c111cdc6a.tar.gz |
3.0.0beta4.r98: adjust pkgver()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 10 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = freerdp-git pkgdesc = Free implementation of the Remote Desktop Protocol (RDP) - pkgver = 3.0.0.beta2.r8.g2252d5300 + pkgver = 3.0.0beta4.r98.g32c65dbdf pkgrel = 1 url = https://github.com/FreeRDP/FreeRDP arch = i686 @@ -5,7 +5,7 @@ _pkgname="freerdp" pkgname="$_pkgname-git" -pkgver=3.0.0.beta2.r8.g2252d5300 +pkgver=3.0.0beta4.r98.g32c65dbdf pkgrel=1 pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)" arch=('i686' 'x86_64') @@ -70,29 +70,30 @@ if [ x"$_pkgname" != x"$pkgname" ] ; then 'webkit2gtk' ) makedepends+=('git') + provides+=("$_pkgname") conflicts+=("$_pkgname") url="https://github.com/FreeRDP/FreeRDP" - source=("$_pkgname"::"git+https://github.com/FreeRDP/FreeRDP.git") + source=("$_pkgname"::"git+$url.git") sha256sums=('SKIP') _pkgsrc="$_pkgname" pkgver() { cd "$srcdir/$_pkgsrc" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags --exclude='*android*' --exclude='*ios*' | sed -E 's/^v//;s@-(alpha|beta|rc)@\1@;s/([^-]*-g)/r\1/;s/-/./g' } fi build() { - local cmake_options=( - -DCMAKE_INSTALL_PREFIX=/usr - -DCMAKE_INSTALL_LIBDIR=lib + local _cmake_options=( + -DCMAKE_INSTALL_PREFIX="/usr" + -DCMAKE_INSTALL_LIBDIR="/usr/lib" # -DCMAKE_BUILD_TYPE=None -DCMAKE_SKIP_INSTALL_RPATH=ON - -DPROXY_PLUGINDIR=/usr/lib/freerdp2/server/proxy/plugins + -DPROXY_PLUGINDIR="/usr/lib/freerdp2/server/proxy/plugins" -DWITH_DSP_FFMPEG=ON -DWITH_FFMPEG=ON -DWITH_PULSE=ON @@ -115,7 +116,7 @@ build() { -DWITH_WAYLAND=ON ) - cmake "${cmake_options[@]}" + cmake "${_cmake_options[@]}" cmake --build build --verbose } |