-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKGBUILD
More file actions
44 lines (40 loc) · 985 Bytes
/
Copy pathPKGBUILD
File metadata and controls
44 lines (40 loc) · 985 Bytes
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
35
36
37
38
39
40
41
42
43
44
# Maintainer: akat <akat@akat.xyz>
pkgname=bth
pkgver=0.0.175
pkgrel=1
epoch=
pkgdesc="Better terminal history manager"
arch=('x86_64')
url="https://git.akat.xyz/$pkgname"
license=('BSD-3-Clause')
groups=()
depends=('notcurses' 'sqlite' 'confuse' 'glibc' 'gcc-libs' 'libxcrypt')
makedepends=('jdk25-openjdk' 'lld' 'git')
checkdepends=('jdk25-openjdk' 'lld')
optdepends=()
provides=('bth')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://git.akat.xyz/$pkgname.git")
noextract=()
sha256sums=('SKIP')
validpgpkeys=('3F0A3AA96A8EFD6CFD5F67423902BCEB8BFD5E8F')
prepare() {
GRADLE_USER_HOME="$srcdir/.gradle"
}
build() {
cd "$srcdir/$pkgname" # todo: This seems wrong.
./gradlew --no-daemon compileKotlinLinuxX64 assemble linuxX64Binaries
}
check() {
cd "$srcdir/$pkgname"
./gradlew --no-daemon linuxX64Test
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "build/bin/linuxX64/releaseExecutable/$pkgname.kexe" "$pkgdir/usr/bin/$pkgname"
}