diff options
author | AstroFloyd | 2018-09-18 10:23:36 +0200 |
---|---|---|
committer | AstroFloyd | 2018-09-18 10:23:36 +0200 |
commit | 9ce211b55c0616820cbebbe04fe6be020200841d (patch) | |
tree | bbfb76833d08f18e7c7564a41cd23bb9499b3f1a /PKGBUILD | |
download | aur-9ce211b55c0616820cbebbe04fe6be020200841d.tar.gz |
Initial PKGBUILD for nidaqmx-dummy
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..785e83e80e42 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: AstroFloyd < AstroFloyd [at] gmail > +pkgname=nidaqmx-dummy +pkgver=0.1 +pkgrel=1 +pkgdesc="Dummy library to compile and link code using NI DAQmx under Linux" +arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') +url="http://doesnotexist.sourceforge.net/" +license=('GPL3') +depends=('glibc') +makedepends=() +changelog=ChangeLog +source=("http://doesnotexist.sourceforge.net/projects/doesnotexist/files/$pkgname-$pkgver.tar.gz") +sha512sums=('f8b29dc52e852035ac6c9c2f38f098f53f78444ddd3b38039ae206a9367198cbe72f95d44b94b86dd0c2fa88f4ad00bf453b050512e62688f629aba1c197a2b3') + +prepare() { + cp etc/Makefile . +} + +build() { + make +} + +package() { + mkdir -p ${pkgdir}/usr/include/ ${pkgdir}/usr/lib/ + cp -v src/NIDAQmx.h ${pkgdir}/usr/include/ + cp -v libNIDAQmx.so ${pkgdir}/usr/lib/ + #cp -v libNIDAQmx.a ${pkgdir}/usr/lib/ +} |