summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13e77c003497c8ad01fb112c965ee49e8ce53054 (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
# Maintainer: Christian Boxdörfer <christian.boxdoerfer@posteo.de>
pkgname=fsearch-git
_gitname=fsearch
pkgver=r219.9caee35
pkgrel=1
pkgdesc="A fast file search utility. Git Version."
arch=('i686' 'x86_64')
url="https://cboxdoerfer.github.io/fsearch"
license=('GPL2')
depends=('gtk3' 'hicolor-icon-theme' 'pcre')
makedepends=('git' 'intltool' 'autoconf-archive' 'autoconf' 'autogen' 'pkg-config' 'libtool')
conflicts=('fsearch')
source=('git://github.com/cboxdoerfer/fsearch.git')
md5sums=('SKIP')

pkgver() {
    cd $_gitname
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $_gitname/

  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd $_gitname/

  make PREFIX=/usr DESTDIR="$pkgdir/" install
}