diff options
author | Mikael Tillenius | 2015-09-07 21:18:09 +0200 |
---|---|---|
committer | Mikael Tillenius | 2015-09-07 21:18:09 +0200 |
commit | 5cab8f46e6c8e7340d5ef0b0563cc8b1cf0aaa9f (patch) | |
tree | 8f08b62643955ea04b417d7fd71ff0f397351786 | |
parent | b54f90751279fd8585876a91d95b9202c6271c23 (diff) | |
download | aur-5cab8f46e6c8e7340d5ef0b0563cc8b1cf0aaa9f.tar.gz |
Update to lastest version
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 17 insertions, 12 deletions
@@ -1,15 +1,16 @@ pkgbase = libps3000 pkgdesc = library for picotech oscilloscope 3000 series - pkgver = 3.7.5_3r22 + pkgver = 3.7.6_3r05 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/libps3000/libps3000_3.7.5-3r22_amd64.deb - md5sums = d669249eecd476bf478e4e3a5b06e308 + source = http://labs.picotech.com/debian/pool/main/libp/libps3000/libps3000_3.7.6-3r05_amd64.deb + md5sums = 3c1de8ff334015f48d7772fe66f89406 pkgname = libps3000 @@ -1,10 +1,16 @@ -# Maintainer: aAXEe <axel at brasshack dot de> -# Submitter: Alexandre Bique (abique) <> +# Maintainer: Mikael Tillenius <mti at tillenius dot com> pkgname=libps3000 -pkgver=3.7.5_3r22 +pkgver=3.7.6_3r05 pkgrel=1 pkgdesc="library for picotech oscilloscope 3000 series" -arch=('x86_64') +arch=('i686' 'x86_64') +if [ "$CARCH" == "i686" ]; then + _arch="i386" + _md5sum='d4a435d265ff7e1748de967be823fa4e' +else + _arch="amd64" + _md5sum='3c1de8ff334015f48d7772fe66f89406' +fi url="http://www.picotech.com/linux.html" license=('custom') groups=() @@ -18,10 +24,8 @@ backup=() options=(!strip) install= changelog= -source=( - "http://labs.picotech.com/debian/pool/main/libp/libps3000/${pkgname}_${pkgver//_/-}_amd64.deb" - ) -md5sums=('d669249eecd476bf478e4e3a5b06e308') +source=("http://labs.picotech.com/debian/pool/main/libp/libps3000/${pkgname}_${pkgver//_/-}_${_arch}.deb") +md5sums=($_md5sum) noextract=() build() { @@ -29,7 +33,7 @@ build() { } package() { - dpkg --extract ${pkgname}_${pkgver//_/-}_amd64.deb $pkgdir + dpkg --extract ${pkgname}_${pkgver//_/-}_${_arch}.deb $pkgdir chmod -R go-w $pkgdir chown -R root:root $pkgdir } |