author | Antonio Rojas
<arojas@archlinux.org> 2018-05-08 13:45:16 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2018-05-08 13:45:16 UTC |
parent | add88299b437432c5d1efb0f49d6285d453b071e |
PKGBUILD | +9 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index 532e7ac..65bb99c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=libqaccessibilityclient pkgver=0.2.0 -pkgrel=2 +pkgrel=3 arch=(x86_64) pkgdesc="Helper library to make writing accessibility tools easier" url='https://www.kde.org' @@ -10,20 +10,24 @@ license=(LGPL2.1) depends=(qt5-base) makedepends=(cmake) conflicts=(libkdeaccessibilityclient) -source=("https://download.kde.org/unstable/libqaccessibilityclient/$pkgname-$pkgver.tar.xz"{,.sig}) +source=("https://download.kde.org/unstable/libqaccessibilityclient/$pkgname-$pkgver.tar.xz"{,.sig} + libqaccessibilityclient-gcc8.patch::"https://cgit.kde.org/libqaccessibilityclient.git/patch/?id=34f6084f") sha256sums=('d5e8f4dc91bc1b56029e12328a9e02d5c310939b01998f030202203c5edb2e61' - 'SKIP') + 'SKIP' + '8df173dd87d055e978edd84e8f95efe820de1bad03f74c16c0d158e830e68331') validpgpkeys=(FB25861861063C64C97B89AE125C53EB96EC0C92) # Frederik Gladhorn <frederik@gladhorn.de> prepare() { mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../libqaccessibilityclient-gcc8.patch # Fix build with GCC 8 } build() { cd build cmake ../$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_INSTALL_PREFIX=/usr make }