summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Bermond2019-05-26 19:50:23 +0000
committerDaniel Bermond2019-05-26 19:50:23 +0000
commitd21fe40e37353719129416dde20124dac196e2ee (patch)
treefbc17fe7fe6eabd5e505c7a49eba6f3f513ac872 /PKGBUILD
parenteb8ae340b977f9732d517d5f36260bde7d85c462 (diff)
downloadaur-d21fe40e37353719129416dde20124dac196e2ee.tar.gz
Use prepare(). Add cmake build type.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 389395f91af..2fae8a38060 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=screencloud
pkgver=1.4.0
-pkgrel=3
+pkgrel=4
pkgdesc='An easy to use screenshot sharing application'
arch=('i686' 'x86_64')
url='https://github.com/olav-st/screencloud/'
@@ -20,13 +20,15 @@ optdepends=('python2-crypto: for SFTP support')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/olav-st/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('2cc4b33227efdf74ea3803d7f4f29c75de37de376995346f35eb9ae0a9eaf212')
+prepare() {
+ mkdir -p "${pkgname}-${pkgver}/build"
+}
+
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}/build"
- mkdir -p build
- cd build
-
cmake \
+ -DCMAKE_BUILD_TYPE:STRING='None' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DCOLOR_OUTPUT:BOOL='ON' \
-DPYTHON_USE_PYTHON3:BOOL='OFF' \