summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-05-26 19:50:23 +0000
committerDaniel Bermond2019-05-26 19:50:23 +0000
commitd21fe40e37353719129416dde20124dac196e2ee (patch)
treefbc17fe7fe6eabd5e505c7a49eba6f3f513ac872
parenteb8ae340b977f9732d517d5f36260bde7d85c462 (diff)
downloadaur-d21fe40e37353719129416dde20124dac196e2ee.tar.gz
Use prepare(). Add cmake build type.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index abda6e6aa2a..7edfd3e8c08 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = screencloud
pkgdesc = An easy to use screenshot sharing application
pkgver = 1.4.0
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/olav-st/screencloud/
arch = i686
arch = x86_64
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' \