summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bc277f24889b1fbd586457efb37c7359fa1b477 (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
pkgname=smartscope-beta
pkgver=2015.1203.20.25
pkgrel=2
pkgdesc="SmartScope App (Beta version)"
arch=('x86_64' 'i686')
url="https://www.lab-nation.com/"
license=('unknown')
depends=('mono' 'sdl_mixer' 'libusb')
conflicts=('smartscope')
provides=('smartscope')
makedepends=('tar')

source=("${pkgname}.deb::https://www.lab-nation.com/package/smartscope/linux/latest_unstable/get"
        'smartscope.sh')
md5sums=('SKIP'
         '3d877cb9f75a3ef8887e1f81b69e8007')

pkgver() {
  tar -xzOf control.tar.gz ./control | sed -n 's/^Version: //p'
}

package() {
  cd "${srcdir}"
  tar -xJvf data.tar.xz -C "${pkgdir}"
  install -D -m755 smartscope.sh "${pkgdir}/usr/bin/smartscope"
}

# vim: set ts=2 sw=2 et: