summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62c0010b867b343d6f510b504e6386123bf6e1ba (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: Thomas Hudson <thomas@gthudson.xuz>
pkgname=bibman-git
pkgver=0.3.0.alpha.r8.gc8082bd
pkgrel=1
epoch=
pkgdesc="A console tool for managing BibTeX files. "
arch=(x86_64)
url="https://github.com/maciejjan/bibman"
license=('GPL')
depends=(perl perl-curses perl-text-bibtex ncurses)
makedepends=(git make)
provides=(bibman)
source=("git+$url")
md5sums=('SKIP')

pkgver() {
      cd bibman
      git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

}

build() {
	cd bibman
        perl Makefile.PL
	make
}

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