summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6b6fa97c84dd9ebddc697a33ba308749abe4f20 (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
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Cyril <cyrwae[at]hotmail[dot]com>
pkgname=python-fcl-git
pkgver=0.0.12
pkgrel=2
pkgdesc="Python bindings for the Flexible Collision Library"
arch=('x86_64')
url="https://github.com/BerkeleyAutomation/python-fcl"
license=('GPL')
groups=()
depends=('fcl')
makedepends=('python-setuptools')
optdepends=()
provides=('python-fcl')
conflicts=('python-fcl')
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname}::git+https://github.com/CyrilWaechter/python-fcl" "patch")
noextract=()
md5sums=('SKIP' '5917b8aa6bb6fa468173d3981f616e0a')

prepare() {
	cd $pkgname
	patch --forward --strip=1 --input="${srcdir}/patch" setup.py
}

build() {
	cd $pkgname
    python setup.py build
}

package() {
	cd $pkgname
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" 'README.md'
}