# Maintainer: Anatol Pomozov pkgname=libsigrokdecode4dsl-git pkgver=1.12.r81.ga80c82d 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) conflicts=(libsigrokdecode4dsl) provides=(libsigrokdecode4dsl) replaces=(libsigrokdecode4dsl) source=(git://github.com/DreamSourceLab/DSView.git) sha1sums=('SKIP') pkgver() { cd DSView git describe --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } build() { cd DSView/libsigrokdecode4DSL ./autogen.sh ./configure --prefix=/usr make } package() { cd DSView/libsigrokdecode4DSL make DESTDIR="$pkgdir" PREFIX=/usr install }