blob: a5942945e814e8920493462928a368cd87ea786a (
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
35
36
37
38
|
# Maintainer: motte <ettom22 at hotmail dot com>
_pkgname=smuview
_spkgname=SmuView
pkgname=${_pkgname}-appimage
pkgver=0.0.6_git_54cf16b
pkgrel=1
pkgdesc="A Qt based source measure unit GUI for sigrok"
arch=('x86_64')
url="https://github.com/knarfS/smuview"
license=('GPL3')
depends=('fuse' 'zlib')
provides=('smuview')
conflicts=('smuview')
_filename=${_spkgname}-${pkgver//_/-}-${arch}.AppImage
source=("https://github.com/knarfS/${_pkgname}/releases/download/continuous/${_filename}"
${_pkgname}.sh)
md5sums=('ec8aa2c925ad43d47eef118cd79fa211'
'31f18ee527b6ea19c63fc521a0f91043')
options=(!strip)
prepare() {
cd "${srcdir}"
chmod +x ${_filename}
./${_filename} --appimage-extract
}
package() {
install -Dm755 "${srcdir}/${_filename}" "${pkgdir}/opt/appimages/${_pkgname}.AppImage"
install -Dm755 "${srcdir}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
install -dm755 "${pkgdir}/usr/share/applications/"
cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
cp --no-preserve=mode,ownership "${srcdir}/squashfs-root/org.sigrok.${_spkgname}.desktop" "${pkgdir}/usr/share/applications/"
}
|