blob: c8c1d0b8dfe740c2cd706de548cd317cb96dc684 (
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
32
33
34
|
# Maintainer: Severin Kaderli <severin@kaderli.dev>
_pkgname=tale
pkgname=${_pkgname}-git
pkgver=1.0.0.r18.g53d701b
pkgrel=1
pkgdesc="An experimental version control system."
arch=('x86_64')
url="https://gitlab.com/severinkaderli/tale"
license=('MIT')
depends=('zlib')
makedepends=('maven' 'git' 'jdk8-graalvm-bin')
conflicts=('tale')
source=('git+https://gitlab.com/severinkaderli/tale')
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
JAVA_HOME="/usr/lib/jvm/java-8-graalvm/" mvn -Dmaven.test.skip=true package
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm755 "target/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|