summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ee9704588e190f46236f6611333a05add926645 (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: Márton Szabó < echo "bm90cmFtb0B2aXBtYWlsLmh1Cg=="|base64 -d >

pkgname=neph-git
pkgver=v0.1.16.r0.55e9760
pkgrel=1
pkgdesc="A modern command line job processor"
arch=('i686' 'x86_64')
url="https://tbrand.github.io/neph/"
license=('MIT')
depends=('glibc')
makedepends=('git' 'crystal')
provides=("neph")
conflicts=("neph")
source=('neph::git+https://github.com/tbrand/neph.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/neph"
	printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "$srcdir/neph"
        crystal build --release src/bin/neph_bin.cr
}

package() {
	cd "$srcdir/neph"
        install -d "$pkgdir/usr/bin"
	cp neph_bin "$pkgdir/usr/bin/neph"
}