blob: 471b6bd52ffdb41100f155f16f9e68684e32a9fd (
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
|
# Maintainer: Nguyễn Quang Minh <minhnbnt at gmail dot com>
pkgname=java-debug
pkgver=0.53.1
pkgrel=1
pkgdesc="The debug server implementation for Java."
arch=(any)
url="https://github.com/microsoft/java-debug"
license=('EPL-1.0')
depends=('java-runtime>=17')
makedepends=('java-environment-openjdk')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/microsoft/java-debug/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('8a16e39837b1d21826cc31160c294e6bf87ede050b2a3fb8c985b50819841646')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./mvnw clean install
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "com.microsoft.java.debug.plugin/target/com.microsoft.java.debug.plugin-${pkgver}.jar" \
"$pkgdir/usr/share/java-debug/com.microsoft.java.debug.plugin.jar"
install -Dm755 "com.microsoft.java.debug.core/target/com.microsoft.java.debug.core-${pkgver}.jar" \
"$pkgdir/usr/share/java-debug/com.microsoft.java.debug.core.jar"
install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|