blob: 6b14f9d611f62cc7aed85fe6dd1e137b859bfef6 (
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
|
# Maintainer: Emilio Reggi <nag@mailbox.org>
pkgname=scholarref-git
_pkgname=scholarref
_source=git://src.adamsgaard.dk/scholarref
pkgver=r53.691d247
pkgrel=1
pkgdesc="POSIX shell tools to extract, fetch, and parse DOIs and BiBTeX bibliography references."
arch=('any')
url="https://src.adamsgaard.dk/scholarref/files.html"
license=('GPL')
depends=('bash' 'xdg-utils')
makedepends=('git')
source=("${_pkgname}"::"${_source}")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
}
|