summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 040b57a9b1f2fb4a76fed9808c8a3610f7e65c1d (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
# Maintainer: Christopher Michael Mescher $(echo \<julian-mescher+faith\>|sed s/\+/./g\;s/\-/@/)

pkgname=julian-git
pkgver() {
  cd "$srcdir/${pkgname%-git}"
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
pkgver=1.1.r0.g9c85f0a
pkgrel=1

pkgdesc="A simple POSIX compliant shell script to convert dates between calendars"
arch=('any')
url="https://gitlab.com/cmmescher/julian.git"
license=('GPL3')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url")
md5sums=('SKIP')

package() {
	cd "$srcdir/${pkgname%-git}"
	make PREFIX=/usr DESTDIR="$pkgdir/" install
}