summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 366a91250032d87c2ae07ececbe70a70bb235d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Vladimir Kosteley <zzismd@gmail.com>
_pkgname=screenshotgun
pkgname=$_pkgname-git
pkgver=0.19_20201017_36
pkgrel=1
pkgdesc="Open cross-platform screenshoter with cloud support and server part"
arch=(any)
url="http://screenshotgun.com"
license=('GPL')
groups=()
depends=('qt5-base')
makedepends=('cmake>=3.5.1' 'git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$_pkgname::git+https://github.com/ismd/screenshotgun.git#tag=v0.19-20201017-36")
noextract=()
sha256sums=()
md5sums=('SKIP')

prepare() {
  cd "$srcdir/$_pkgname"
  git checkout tags/v0.19-20201017-36
}

build() {
  mkdir "$srcdir/build-$_pkgname"
  cd "$srcdir/build-$_pkgname"

  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/$_pkgname"
  cmake --build .
}

package() {
  cd "$srcdir/build-$_pkgname"
  make DESTDIR="$pkgdir/" install/strip
}