summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa05c63e80edc496716bdd855e68e29a4c0f8753 (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
# Maintainer: Cody Schafer <aur@codyps.com>
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>

pkgname=libsigrokdecode4dsl
pkgver=0.98
pkgrel=1
pkgdesc='A library which provides the basic sigrok protocol decoders for DreamSourceLab hardware'
url='https://github.com/DreamSourceLab/DSView'
arch=(i686 x86_64)
license=(GPL3)
depends=(python glib2)
makedepends=(git)
source=("git://github.com/DreamSourceLab/DSView.git#tag=$pkgver")
sha1sums=('SKIP')

build() {
  cd DSView/libsigrokdecode4DSL

  ./autogen.sh
  ./configure --prefix=/usr

  make
}

package() {
  cd DSView/libsigrokdecode4DSL
  make DESTDIR="$pkgdir" PREFIX=/usr install
}