summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Bermond2020-01-11 16:40:21 +0000
committerDaniel Bermond2020-01-13 01:12:20 +0000
commit83f6ab94760060cad1fd774b70a988bc4b9b5c54 (patch)
treefd88340b96c43730ca71b3ea364e96ae3ecf327f /PKGBUILD
parentf6a3a951ad1b3033e56105df563403711080e9d6 (diff)
downloadaur-screencloud.tar.gz
Updated to version 1.5.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 643083b5a34..52d6d750ce7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Lev Lybin <lev.lybin@gmail.com>
pkgname=screencloud
-pkgver=1.5.0
-pkgrel=2
+pkgver=1.5.1
+pkgrel=1
pkgdesc='An easy to use screenshot sharing application'
arch=('x86_64')
url='https://github.com/olav-st/screencloud/'
@@ -18,28 +18,25 @@ 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"
- '010-screencloud-1.5.0-fix-build.patch')
-sha256sums=('8903a79207926a22a059e70c8d71b3eb136ed08cf06c8a37a5afe888c3f8538c'
- '3061f78ba26a9b9492fcf5e65ba015d4748c4aab8fb6d78c91fd3410e2c0909f')
+ '010-screencloud-fix-python-link-libraries.patch')
+sha256sums=('2a22ca06fc217574aee2204fdae4ba9c01cf6d5d78a63334ae95207bfbf0fc72'
+ '5526080cd195127cc94f4c8d69ae3e55e6d3b24b6feeb23c1d5f8f885c87d7f4')
prepare() {
- mkdir -p "${pkgname}-${pkgver}/build"
- patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-screencloud-1.5.0-fix-build.patch"
+ patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-screencloud-fix-python-link-libraries.patch"
}
build() {
- cd "${pkgname}-${pkgver}/build"
- cmake \
+ cmake -B build -S "${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE:STRING='None' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DCOLOR_OUTPUT:BOOL='ON' \
-DPYTHON_USE_PYTHON3:BOOL='ON' \
-DQT_USE_QT5:BOOL='ON' \
- -Wno-dev \
- ..
- make
+ -Wno-dev
+ make -C build
}
package() {
- make -C "${pkgname}-${pkgver}/build" DESTDIR="$pkgdir" install
+ make -C build DESTDIR="$pkgdir" install
}