blob: 5121a483804a092ebd60449bd3e39befee6a771d (
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
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=jna
pkgver=5.12.0
pkgrel=1
pkgdesc="Access native libraries with pure Java code."
arch=('any')
url='https://github.com/java-native-access/jna'
license=('LGPL' 'custom:Apache')
depends=('java-runtime')
source=("https://repo1.maven.org/maven2/net/java/dev/jna/jna/${pkgver}/jna-${pkgver}.jar"
'https://raw.githubusercontent.com/java-native-access/jna/master/AL2.0'
'https://raw.githubusercontent.com/java-native-access/jna/master/LGPL2.1'
)
sha256sums=('f96112f6b94c68d95af54ebf257e8acc25a912287a6a891cd6576bba861297b7'
'0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594'
'eea173a556abac0370461e57e12aab266894ea6be3874c2be05fd87871f75449'
)
package() {
install -Dm775 "${srcdir}/jna-${pkgver}.jar" "${pkgdir}/usr/share/java/jna.jar"
install -Dm755 "${srcdir}/AL2.0" "${pkgdir}/usr/share/licenses/${pkgname}/AL2.0"
install -Dm755 "${srcdir}/LGPL2.1" "${pkgdir}/usr/share/licenses/${pkgname}/LGPL2.1"
}
|