summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 793164332fe19748d82c05da2f88cbc445eff64b (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
# Maintainer: Mihai Bisog <mihai.bisog@gmail.com>
pkgname=xfstk-dldr
pkgver=1.8.1
pkgrel=2
pkgdesc="Update Intel SoC firmware over USB using the DNX protocol"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/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=("http://sourceforge.net/projects/xfstk/files/$pkgname-linux-source-$pkgver.tar.gz")
md5sums=("c076b3bbbe9907ef2eb7958e17b152bd")

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

build() {
    cd "xfstk-build/linux-source-package/build"
    make
}

package() {
    cd "xfstk-build/linux-source-package/build"
    make DESTDIR="$pkgdir/" install
}