summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d377a9b31e0d48a4d1d1376faac713d08b36961 (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
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>

pkgname=python-gpib-ctypes
pkgver=0.3.0
pkgrel=1
pkgdesc="Cross-platform Python bindings for the NI GPIB and linux-gpib C interfaces."
arch=('x86_64')
url=https://github.com/tivek/gpib_ctypes
license=('GPL2')
depends=(python linux-gpib)
makedepends=(python-setuptools)
source=(https://github.com/tivek/gpib_ctypes/archive/${pkgver}.tar.gz)
sha256sums=('549b532418e11dceeef1e694b2bb6c88734d382583b999c572cee61b610a70f7')

prepare() {
  cd "$srcdir/gpib_ctypes-$pkgver"
}

build() {
  cd "$srcdir/gpib_ctypes-$pkgver"
  python setup.py build
}


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

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