summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d9a6e1afd02bb71f2e788f861a2ddf617fedb263 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Maintainer: Sam Burgos < santiago dot burgos1089 at gmail dot com >
# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: Jan Böhringer <janboe@gmail.com>
# Contributor: Frédérik Paradis <fredy_14@live.fr>
# Contributor: GI_Jack <GI_Jack@hushmail.com>

pkgname=gtkhash-nautilus
pkgver=1.4
pkgrel=4
pkgdesc="A GTK+ utility for computing message digests or checksums (Gtkhash with Nautilus filemanager plugin)"
arch=('x86_64')
url="https://github.com/tristanheaven/gtkhash"
license=('GPL')
depends=(
    'dconf'
    'gtk3'
    'libb2'
    'libnautilus-extension'
    'nettle'
)

makedepends=(
    'dconf'
    'gtk3'
    'intltool'
    'libnautilus-extension'
    'librsvg'
    'nettle'
    'xdg-utils'
)
provides=(
  gtkhash
  ${pkgname}
)
conflicts=(
  gtkhash 
  gtkhash-caja
  gtkhash-nemo
  gtkhash-thunar
)
source=("${url}/releases/download/v$pkgver/gtkhash-$pkgver.tar.xz")
sha256sums=('20b57dbb8f6c6d7323f573c111a11640603a422c5f9da7b302a4981e4adc37c4')

build() {
  cd gtkhash-$pkgver

  ./configure --prefix=/usr \
              --disable-schemas-compile \
              --enable-gtkhash \
              --enable-linux-crypto \
              --enable-nettle \
              --disable-blake2 \
              --with-gtk=3.0 \
              --enable-nautilus

  make
}

package() {

  make -C gtkhash-$pkgver/src/nautilus DESTDIR="$pkgdir/" install
}