summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61cca516a85b0098185487ebd280f7b64b957527 (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: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=bibtool-git
pkgver=2.67.11.ga7f8b05
pkgrel=1
pkgdesc="Command line manipulation of BibTeX files - from git-repo"
arch=('i686' 'x86_64')
url="http://www.gerd-neugebauer.de/software/TeX/BibTool/"
license=('GPL')
depends=('texlive-bin')
makedepends=('git')
provides=('bibtool')
conflicts=('bibtool')
source=("git+https://github.com/ge-ne/bibtool")
md5sums=('SKIP')
options=('!makeflags')

pkgver() {
  cd ${pkgname%-git}
  git describe --tags | sed 's|[-_]|.|g' | cut -c9-
}

build() {
  cd ${pkgname%-git}
  autoreconf
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname%-git}
  install -d "$pkgdir"/usr/bin
  make INSTALLPREFIX="$pkgdir/" install
}