summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a9838dd29179e46fc4ac5ed8836b4673a61c457 (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: Muflone http://www.muflone.com/contacts/english/

pkgname=python2-jaydebeapi
_pkgname="${pkgname/*-/}"
pkgver=1.1.1
pkgrel=1
pkgdesc="A bridge from JDBC database drivers to Python DB-API"
arch=('any')
url="https://github.com/baztian/jaydebeapi"
license=('GPL3')
makedepends=('python2')
depends=('python2' 'python2-jpype1' 'python2-setuptools')
source=("JayDeBeApi-${pkgver}.tar.gz"::"https://github.com/baztian/jaydebeapi/archive/v${pkgver}.tar.gz")
sha256sums=('f3310594c125de129c003a661913cbbf2018bc91ec65528b70c61339c3a9f168')

build() { 
  cd "${_pkgname}-${pkgver}"
  python2 setup.py build
}

package() {
  cd "${_pkgname}-${pkgver}"
  python2 setup.py install --root="${pkgdir}" --optimize=1
}