summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLev Lybin2018-03-11 12:03:42 +0700
committerLev Lybin2018-03-11 12:03:42 +0700
commit22beb4f0ae7c06f815f3006af017c1df91e025a6 (patch)
tree7d22fbb7eb95ccfdabd47d5b5319eacb7f60c44c /PKGBUILD
parent5e60305ffcea20170e5fa1c1632428fd6cbf2291 (diff)
downloadaur-22beb4f0ae7c06f815f3006af017c1df91e025a6.tar.gz
upgpkg 1.3.1.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8fe306ab71f..d94ce99e0e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,9 @@
# Contributor: Lev Lybin <lev.lybin@gmail.com>
pkgname=screencloud
-pkgver=1.3.1
-pkgrel=8
+pkgver=1.3.1.1
+pkgrel=1
+_pkgcommit=ad3727e1d5391899c783c94ffc2d537083f56309
pkgdesc="Easy to use screenshot sharing application."
arch=('i686' 'x86_64')
url="https://github.com/olav-st/screencloud"
@@ -15,15 +16,13 @@ options=('strip' 'docs' 'libtool' '!staticlibs' 'emptydirs' 'zipman' 'purge' '!o
install="${pkgname}".install
conflicts=('screencloud-git')
#source=(${pkgname}-${pkgver}.tar.gz::https://github.com/olav-st/${pkgname}/archive/v${pkgver}.tar.gz)
-# fix CMake Error PYTHONQT_LIBRARY (ADVANCED) before release
-source=(${pkgname}-${pkgver}-master-8.tar.gz::https://github.com/olav-st/screencloud/archive/5e0d696171f0915bcde2d52e98d519c5c9b742aa.zip)
-sha256sums=('6b89d29f4a00d8454e020142c7b38f61732b84b17d323f728f30d4b728122d75')
+source=(${pkgname}-${pkgver}-master.tar.gz::https://github.com/olav-st/screencloud/archive/${_pkgcommit}.zip)
+sha256sums=('5734d7af31b7ebc8eafbaf02668449e2fa5b05bea9545371df89a1bc24896333')
prepare() {
- # hack, fix CMake Error PYTHONQT_LIBRARY (ADVANCED)
- mv "${srcdir}/screencloud-5e0d696171f0915bcde2d52e98d519c5c9b742aa/" "${srcdir}/${pkgname}-${pkgver}"
# Create build directory
- mkdir -p "${srcdir}/${pkgname}-${pkgver}"/build
+ #mkdir -p "${srcdir}/${pkgname}-${pkgver}"/build
+ mkdir -p "${srcdir}/${pkgname}-${_pkgcommit}"/build
}
build() {
@@ -31,7 +30,9 @@ build() {
local _consumer_key='ef5d77317892721a0acebbbc8157272b055da8074'
local _consumer_secret='2d745141473f640b566aba29147fd672'
- cd "${srcdir}/${pkgname}-${pkgver}"/build
+ #cd "${srcdir}/${pkgname}-${pkgver}"/build
+ cd "${srcdir}/${pkgname}-${_pkgcommit}"/build
+
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_BINDIR=/usr/bin \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
@@ -46,7 +47,8 @@ build() {
package() {
# Installing package
- cd "${srcdir}/${pkgname}-${pkgver}"/build
+ #cd "${srcdir}/${pkgname}-${pkgver}"/build
+ cd "${srcdir}/${pkgname}-${_pkgcommit}"/build
# Install files
make DESTDIR="${pkgdir}" install