diff options
author | Nick Econopouly | 2021-02-08 08:26:04 -0500 |
---|---|---|
committer | Nick Econopouly | 2021-02-08 08:26:04 -0500 |
commit | 719f388d6a3c25e642d3b074c229d653946a34f4 (patch) | |
tree | bbafb5c46c2c441f88b26b3a21deba103745676f /PKGBUILD | |
parent | fe8d4d3ce664e54e869ec4422b1e5eea8e7d2307 (diff) | |
download | aur-719f388d6a3c25e642d3b074c229d653946a34f4.tar.gz |
Add temporary patch to fix build error
It's a known issue upstream related to the .desktop file.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -10,17 +10,25 @@ license=('GPL3') depends=('jami-daemon-git' 'libjamiclient-git' 'qt5-base' 'libnm' 'qrencode') makedepends=('git' ) conflicts=('jami-gnome-git' 'jami-gnome') -source=("git+$url.git") -sha512sums=(SKIP) +source=("git+$url.git" '0002.patch') +sha512sums=(SKIP 1b10011ac78f71457b1a391c8a192d9a024e202f20b34e13d0d9d3c0092c1ef4fb9826c2ac092d2e60d72e8f4f68cb87275dd4a7397e72d1ac1157caacf9e33d) + pkgver() { cd $srcdir/jami-client-qt printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } + + prepare() { + cd $srcdir/jami-client-qt + git apply ../0002.patch + mkdir -p build + } + + build() { cd jami-client-qt - mkdir -p build cd build # /usr is necessary for Arch; see https://archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/ cmake .. -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" |