summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2867b0356d964cae431740e7b507fef630ae88fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Tommaso Sardelli <lacapannadelloziotom [at] gmail [dot] com>

pkgname=python-llvmcpy
pkgver=0.1.6
pkgrel=1
pkgdesc="Python bindings for LLVM auto-generated from the LLVM-C API "
arch=(any)
url="https://rev.ng/llvmcpy"
license=('MIT')
depends=('llvm' 'python' 'python-appdirs' 'python-cffi' 'python-packaging' 'python-pycparser')
makedepends=('git' 'python-setuptools')
provides=("${pkgname}")
conflicts=("${pkgname}-git")
replaces=("${pkgname}-git")
source=("https://github.com/revng/llvmcpy/archive/v${pkgver}.tar.gz")
sha512sums=('fcfb0773888e0412b96831d5e2b00aad27f36f1d22a5d8f48d1e1be659e21ebd859e2e3c2e8c6bf12a4cf414ca2c21c926421f18e2a31250029c00e9edd19709')

package() {
  cd "$srcdir/llvmcpy-${pkgver}"
  python setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et: