blob: 7e095dfb2825afc2b9bd0f678cf586e9fbfd081e (
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: Lukas Burgey <mail@lukasburgey.de>
basepkgname=kerl
pkgname="${basepkgname}-git"
pkgver=2.2.2.r0.077d16d
pkgrel=1
pkgdesc="Easy building and installing of Erlang/OTP instances"
url="https://github.com/kerl/kerl"
arch=(i686 x86_64)
license=('MIT')
provides=($basepkgname)
conflicts=($basepkgname)
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$basepkgname"
git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$basepkgname"
install -Dm755 kerl "$pkgdir/usr/bin/kerl"
}
|