summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 89e18c9dbfe8481c9cc4430e3cc6a10fe2e65857 (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
# Maintainer : William Swanson <swansontec@gmail.com>
# vim: set ts=2 sw=2 et:

pkgname="bitscope-server"
pkgver="1.1.FK26A"
pkgrel=1
pkgdesc="Network server software for Bitscope oscilloscopes"
arch=('i686' 'x86_64')
url="http://www.bitscope.com"
license=('custom')
depends=()

if [ "${CARCH}" == "x86_64" ]; then
    _BITSCOPEARCH='amd64'
    _BITSCOPESHA1='0e05f666c35b5338125eb7dd8cf2a5d4e9ec7995'
else
    _BITSCOPEARCH='i386'
    _BITSCOPESHA1='fa009f019192d8522666789a21ed7ca1d127a403'
fi

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

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