summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b06b316323ae1b173c803d6c651a966a4796e89 (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
# Inmarsat-C library
# Maintainer: cropinghigh <joinmark60@gmail.com>
pkgname=libinmarsatc-git
pkgver=r13.31c6f5e
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Inmarsat-C Open-source library based on Scytale-c"
license=('GPL')
provides=("libinmarsatc")
source=("git+https://github.com/cropinghigh/inmarsatc")
md5sums=('SKIP')

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

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

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