summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02f55ec00031989139fc1c14f028ca03f926a553 (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
# Maintainer: Anselmo L. S. Melo <anselmo.melo@intel.com>
pkgname=qm-dfu-util
pkgver=1.2.0
pkgrel=1
pkgdesc="UART-based dfu-util for Quark MCUs"
arch=('x86_64' 'i686')
url="https://github.com/quark-mcu/qm-dfu-util"
license=('GPL2')
depends=()
provides=("${pkgname%-git}" 'dfu-util-qda')
conflicts=('qm-dfu-util-git')
replaces=('qm-dfu-util-git')
source=("https://github.com/quark-mcu/qm-dfu-util/archive/v$pkgver.tar.gz")
md5sums=('94a1fe38c61433023925fcc6278a6131')

build() {
	cd "$pkgname-$pkgver"
    ./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}