summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efbaacaf4396e82a011d7e554ee64a61d37d6bde (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
# Maintainer: kyngs <aurmail at kyngs dot xyz>
# Contributor: Mihai Bisog <mihai.bisog@gmail.com>
pkgname=xfstk-dldr
pkgver=1.8.6
pkgrel=3
pkgdesc="Update Intel SoC firmware over USB using the DNX protocol"
arch=('i686' 'x86_64')
url="https://github.com/edison-fw/xFSTK"
license=('LGPL')
depends=('qt4' 'libusb-compat' 'boost')
makedepends=('doxygen' 'graphviz' 'cmake')
provides=('xfstk-dldr' 'xfstk-dldr-gui')
conflicts=('xfstk-dldr' 'xfstk-dldr-gui')
source=("git+${url}#tag=v$pkgver")
sha256sums=('SKIP')

prepare() {
    cd "xFSTK"
    mkdir -p build
    cd build
    BUILD_VERSION=$pkgver cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
}

build() {
    cd "xFSTK/build"
    make
}

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