blob: b5f4c90fedf5ef4c2fbc8cb2cbd5161e8e827153 (
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
39
40
41
|
# Maintainer: Anatol Pomozov
# Co-Maintainer: Abdelhak Bougouffa <abougouffa@fedoraproject.org>
# Contributor: Thomas Krug <t.krug@elektronenpumpe.de>
pkgname=dsview-git
pkgver=1.2.0.r15.g9264bce
pkgrel=1
pkgdesc='GUI programe for supporting various instruments from DreamSourceLab, including logic analyzer, oscilloscope, etc.'
arch=(i686 x86_64)
url='http://www.dreamsourcelab.com/'
license=(GPL3)
# Upstream added VCS dependency to libsigrokdecode :/
depends=(boost-libs qt5-base fftw)
makedepends=(boost cmake)
source=(git+https://github.com/DreamSourceLab/DSView) #branch=develop
sha1sums=('SKIP')
pkgver() {
cd DSView
git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd DSView
sed 's|/usr/local/|/usr/|' -i DSView/DSView.desktop
sed 's| /lib/udev/rules.d| /usr/lib/udev/rules.d|' -i CMakeLists.txt
}
build() {
cd DSView
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd DSView
make DESTDIR="$pkgdir" install
#install -Dm644 icons/logo_color.png "$pkgdir/usr/share/pixmaps/dsview.png"
}
|