summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2eca4341b9334f0231e0cc3cf461f5047eee5552 (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
# Stdcdec program to demodulate, decode and parse Inmarsat-C signals
# Maintainer: cropinghigh <joinmark60@gmail.com>
pkgname=stdcdec-git
pkgver=r11.c9a1689
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Stdcdec program to demodulate, decode and parse Inmarsat-C signals"
license=('GPL')
depends=("libinmarsatc")
provides=("stdcdec")
source=("git+https://github.com/cropinghigh/stdcdec")
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/stdcdec"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd $srcdir/stdcdec
    mkdir build
    cd build
    cmake ..
    make
}

package() {
    cd $srcdir/stdcdec/build
    make DESTDIR="$pkgdir/" install
}