blob: a6f7ef304ac9eee295e8c24c4cdd6be72be61b16 (
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
29
30
31
32
33
34
|
pkgname=smartscope-beta
pkgver=2018.1218.0150.00
pkgrel=1
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}"
# Move udev rules from /etc to /usr/lib
install -d "${pkgdir}/usr/lib"
mv "${pkgdir}/etc/udev" "${pkgdir}/usr/lib/udev"
# Add launcher script
install -D -m755 smartscope.sh "${pkgdir}/usr/bin/smartscope"
}
# vim: set ts=2 sw=2 et:
|