summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 30671b2b01f8b698c78ce908bb5182546c607bf5 (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
# Maintainer: carstene1ns - https://git.io/ctPKG

pkgname=gtkhash-caja-git
pkgver=v1.4.r64.g3afea16
pkgrel=1
pkgdesc='A Caja filemanager plugin for computing message digests or checksums (development version).'
arch=('i686' 'x86_64')
url='https://github.com/tristanheaven/gtkhash'
license=('GPL2')
makedepends=('git')
depends=('gtkhash-git' 'caja')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=(gtkhash::"git+https://github.com/tristanheaven/gtkhash.git")
md5sums=('SKIP')

pkgver() {
  cd gtkhash

  git describe --long --tags | sed 's/-/.r/;s/-/./'
}

build() {
  cd gtkhash

  ./autogen.sh
  ./configure --prefix=/usr --disable-schemas-compile --disable-gtkhash \
              --enable-linux-crypto --enable-nettle --enable-caja
  make
}

package() {
  make -C gtkhash/src/nautilus DESTDIR="$pkgdir/" install
}