summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Bermond2019-11-24 17:44:28 +0000
committerDaniel Bermond2019-11-24 17:45:32 +0000
commitf6a3a951ad1b3033e56105df563403711080e9d6 (patch)
tree4d1cf2903d1a442ae69bb8919133c5c545e96c0b /PKGBUILD
parent39e26b8e979aa44eae69b0c55513af0e7d246a36 (diff)
downloadaur-f6a3a951ad1b3033e56105df563403711080e9d6.tar.gz
Fix build with python 3.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6d79aaca04d..643083b5a34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
-# Maintainer : Daniel Bermond < gmail-com: danielbermond >
+# Maintainer : Daniel Bermond <dbermond@archlinux.org>
# Contributor: Lev Lybin <lev.lybin@gmail.com>
pkgname=screencloud
pkgver=1.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='An easy to use screenshot sharing application'
arch=('x86_64')
url='https://github.com/olav-st/screencloud/'
@@ -17,16 +17,18 @@ depends=(
)
makedepends=('cmake' 'zlib' 'openssl' 'qt5-svg' 'qt5-tools')
optdepends=('python-pycryptodome: for SFTP support')
-source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/olav-st/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('8903a79207926a22a059e70c8d71b3eb136ed08cf06c8a37a5afe888c3f8538c')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/olav-st/${pkgname}/archive/v${pkgver}.tar.gz"
+ '010-screencloud-1.5.0-fix-build.patch')
+sha256sums=('8903a79207926a22a059e70c8d71b3eb136ed08cf06c8a37a5afe888c3f8538c'
+ '3061f78ba26a9b9492fcf5e65ba015d4748c4aab8fb6d78c91fd3410e2c0909f')
prepare() {
mkdir -p "${pkgname}-${pkgver}/build"
+ patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-screencloud-1.5.0-fix-build.patch"
}
build() {
cd "${pkgname}-${pkgver}/build"
-
cmake \
-DCMAKE_BUILD_TYPE:STRING='None' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
@@ -35,12 +37,9 @@ build() {
-DQT_USE_QT5:BOOL='ON' \
-Wno-dev \
..
-
make
}
package() {
- cd "${pkgname}-${pkgver}/build"
-
- make DESTDIR="$pkgdir" install
+ make -C "${pkgname}-${pkgver}/build" DESTDIR="$pkgdir" install
}