summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e9913b8fcbda3d8dec62e7694f193d17fb38122 (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: Sebastian Lau <lauseb644 _at_ gmail _dot_ com>

pkgname=nemo-compare
pkgver=4.0.0
pkgrel=1
pkgdesc="Context menu comparison extension for Nemo file manager"
arch=("x86_64")
url="https://github.com/linuxmint/nemo-extensions"
license=('GPL3')
depends=('nemo>=4.0' 'nemo-python>=4.0' 'python2-xdg' 'pygtk' 'diffuse')
groups=('nemo-extensions')
optdepends=('kompare: Additional comparison options (preferred diff, three-way, multi-compare)'
	    'fldiff: Additional comparison options (preferred diff, three-way, multi-compare)')
install=${pkgname}.install
source=("nemo-extensions-$pkgver.tar.gz::https://github.com/linuxmint/nemo-extensions/archive/$pkgver.tar.gz")
sha256sums=('4bee7336554fd3c6e87371bc4683e5bee989a67030582b89a050aad5874a04de')


build() {
  cd "${srcdir}/nemo-extensions-${pkgver}/${pkgname}"

  python setup.py build
}

package() {
  cd "${srcdir}/nemo-extensions-${pkgver}/${pkgname}"

  install -D src/* -t "${pkgdir}/usr/share/${pkgname}/"

  install -d "${pkgdir}/usr/share/nemo-python/extensions"

  install -d "${pkgdir}/usr/bin"
  ln -s /usr/share/nemo-compare/nemo-compare-preferences "${pkgdir}/usr/bin/nemo-compare-preferences"
}