blob: 5484a21e14244f295280cc1b76c2b388ee81bb0d (
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
|
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>
pkgname=gpib-utils
pkgver=1.5
pkgrel=4
pkgdesc="GPIB instrument support utilities"
url="https://github.com/garlick/gpib-utils"
arch=('x86_64' 'i686')
license=('GPLv2')
depends=('linux-gpib')
source=("https://github.com/garlick/${pkgname}/archive/${pkgver}.tar.gz")
sha1sums=('14619a1e7ca95ffc28ce5bb400b2ae126c6c4d25')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
./autogen.sh
./configure CPPFLAGS="-I/usr/include/tirpc" \
--prefix=${pkgdir}/usr
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install
mv ${pkgdir}/usr/etc ${pkgdir}/etc
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et:
|