blob: e6cc330dc93d0bd10d953d318d5ef8cdb1504e7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=jna
pkgver=4.2.2
pkgrel=1
pkgdesc="Access native libraries with pure Java code."
arch=('any')
url='https://github.com/java-native-access/jna'
license=('LGPL' 'custom:ASL')
depends=('java-runtime')
source=("https://maven.java.net/content/repositories/releases/net/java/dev/jna/jna/${pkgver}/jna-${pkgver}.jar"
'https://raw.githubusercontent.com/java-native-access/jna/master/LICENSE.ASL')
sha1sums=('5012450aee579c3118ff09461d5ce210e0cdc2a9'
'1bc726a247a3fe718d411c802cd6215038d527a4')
package() {
install -Dm775 "${srcdir}/jna-${pkgver}.jar" "${pkgdir}/usr/share/java/jna.jar"
install -Dm755 "${srcdir}/LICENSE.ASL" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|