summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e030eac756821d85786be45eb1f1cb1d389902f0 (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: Shayne Hartford <shayneehartford@gmail.com>
pkgname=sharexin
_pkgname=ShareXin
pkgver=0.7.2
pkgrel=2
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'
)
optdepends=(
    'gnome-screenshot: Screenshot support with Gnome'
    'spectacle: Screenshot support with KDE'
    'scrot: Screenshot support with general X11'
)
source=(https://github.com/$_pkgname/$_pkgname/archive/$pkgver.tar.gz)
md5sums=('fe8e5d9235aa1efc0b37bec19d9ab3ce')

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

  make
}

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

  make DESTDIR="$pkgdir/" install
}