summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ffad961e19b576926086cd6bee7fd6ee1aa0511d (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
43
44
45
46
# Maintainer: Shayne Hartford <shayneehartford@gmail.com>

pkgname=sharexin-git
_pkgname=ShareXin
pkgver=0.7.2
pkgrel=5
pkgdesc="ShareX for Linux and BSD"
arch=('any')
url="https://github.com/ShareXin/ShareXin"
license=('GPL3')
depends=(
    'cairo'
    'curl'
    'gtk3'
    'gdk-pixbuf2'
    'glib2'
    'openssl'
    'dbus'
    'xcb-util'
)
makedepends=(
    'cargo'
    'clang'
    'git'
)
optdepends=(
    'gnome-screenshot: Screenshot support with Gnome'
    'spectacle: Screenshot support with KDE'
    'scrot: Screenshot support with general X11'
)
provides=('sharexin')
conflicts=('sharexin')
source=(git+https://github.com/$_pkgname/$_pkgname.git)
md5sums=('SKIP')

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

  make
}

package() {
  cd "$srcdir/$_pkgname"

  make DESTDIR="$pkgdir/" install
}