summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2b9752c994e1bd57c5cb092a73c493e4e674dfd (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
# Maintainer : William Swanson <swansontec@gmail.com>
# Old maintainer : EnteEnteEnte <ducksource@duckpond.ch>
# vim: set ts=2 sw=2 et:

pkgname="bitscope-dso"
pkgver="2.9.FE22H"
pkgrel=1
pkgdesc="Bitscope dso software for oscilloscopes"
arch=('i686' 'x86_64')
url="http://www.bitscope.com"
license=('custom')
depends=(atk gdk-pixbuf2 gtk2 pango cairo)

if [ "${CARCH}" == "x86_64" ]; then
    _BITSCOPEARCH='amd64'
    _BITSCOPESHA1='709e36cf6f75ed2ad28c2e752ea67062ae6d6941'
else
    _BITSCOPEARCH='i386'
    _BITSCOPESHA1='8cdd8f84a87cdeb19cf6ccee9527d267845712d0'
fi

_DSOPKG="bitscope-dso_${pkgver}_${_BITSCOPEARCH}.deb"
source=("http://www.bitscope.com/download/files/${_DSOPKG}")
sha1sums=("${_BITSCOPESHA1}")

package() {
   tar -xzf "${srcdir}/data.tar.gz" -C "${pkgdir}"
}