diff options
author | Mikael Tillenius | 2015-07-06 12:39:56 +0200 |
---|---|---|
committer | Mikael Tillenius | 2015-07-06 12:39:56 +0200 |
commit | 4f2a630528754dd60c62ad42f1eebb5136d62f13 (patch) | |
tree | 89f6c9dd23cd9aa2d0396b565e155de0786faf7f | |
download | aur-4f2a630528754dd60c62ad42f1eebb5136d62f13.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fd10fd15aa8e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libps2000a + pkgdesc = library for picotech oscilloscope 2000 series + pkgver = 1.1.4_5r35 + pkgrel = 1 + url = http://www.picotech.com/linux.html + arch = i686 + arch = x86_64 + license = custom + makedepends = dpkg + depends = libusb + options = !strip + source = http://labs.picotech.com/debian/pool/main/libp/libps2000a/libps2000a_1.1.4-5r35_amd64.deb + md5sums = 53d8c4b45b16330a7cc9ee0b5a699a14 + +pkgname = libps2000a + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ffc6dbede890 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Mikael Tillenius <mti at tillenius dot com> +pkgname=libps2000a +pkgver=1.1.4_5r35 +pkgrel=1 +pkgdesc="library for picotech oscilloscope 2000 series" +arch=('i686' 'x86_64') +if [ "$CARCH" == "i686" ]; then + _arch="i386" + _md5sum='7b394ecc9d700bafa9d764c846850598' +else + _arch="amd64" + _md5sum='53d8c4b45b16330a7cc9ee0b5a699a14' +fi +url="http://www.picotech.com/linux.html" +license=('custom') +groups=() +depends=(libusb) +makedepends=(dpkg) +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!strip) +install= +changelog= +source=("http://labs.picotech.com/debian/pool/main/libp/libps2000a/${pkgname}_${pkgver//_/-}_${_arch}.deb") +md5sums=($_md5sum) +noextract=() + +build() { + echo +} + +package() { + dpkg --extract ${pkgname}_${pkgver//_/-}_${_arch}.deb $startdir/pkg/$pkgname + chmod -R go-w $startdir/pkg/$pkgname + chown -R root:root $startdir/pkg/$pkgname +} |