blob: 8ce7fa85ac104323171ef7078b4f83825025d540 (
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
|
# Maintainer: Muflone http://www.muflone.com/contacts/english/
# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
# Contributor: Jonathan Liu <net147@gmail.com>
pkgname=python2-jpype1
_pkgname=jpype
pkgver=0.7.1
pkgrel=1
pkgdesc="Python to Java bridge, an effort to allow Python programs full access to Java class libraries"
arch=('x86_64')
url="https://github.com/jpype-project/${_pkgname}"
license=('APACHE')
makedepends=('python2-setuptools' 'ant')
depends=('python2')
conflicts=('jpype')
source=("JPype1-${pkgver}.tar.gz"::"https://github.com/jpype-project/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('0c644efb6d475f60ed17cfd7670c9700a2ee5d32b44f89c74e4ae8851ef8f63a')
build() {
cd "${_pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
}
|