summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03c23a99059056857af80893d77d06108cc5f942 (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
# Maintainer: Weitian Leung <weitianleung@gmail.com>

pkgname=xdiff-ext-git
_pkgver=0.2.0
pkgver=${_pkgver}.r18
pkgrel=2
pkgdesc="A Thunar extension for launching file comparison tools"
arch=('i686' 'x86_64')
url="https://github.com/timxx/xdiff-ext"
license=('BSD')
depends=('thunar')
makedepends=('xfce4-dev-tools' 'pkgconfig')
install=$pkgname.install
source=("$pkgname::git+https://github.com/timxx/xdiff-ext.git")
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/$pkgname"
    printf "${_pkgver}.r%s" "$(git rev-list --count HEAD)"
}

build() {
  cd "$srcdir/$pkgname"
  ./autogen.sh --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir" install
}