New package: dfu-util 0.9

This commit is contained in:
fauxpark
2020-07-11 16:48:23 +10:00
parent 742c89637a
commit aace33790d

View File

@@ -0,0 +1,26 @@
# Maintainer: fauxpark <fauxpark@gmail.com>
_realname=dfu-util
pkgbase=mingw-w64-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
pkgver=0.9
pkgrel=1
pkgdesc='Device firmware upgrade utilities (mingw-w64)'
arch=('any')
license=('GPL2')
url='http://dfu-util.sourceforge.net/'
depends=("${MINGW_PACKAGE_PREFIX}-libusb")
source=("https://downloads.sourceforge.net/project/dfu-util/dfu-util-${pkgver}.tar.gz")
sha256sums=('36428c6a6cb3088cad5a3592933385253da5f29f2effa61518ee5991ea38f833')
build() {
cd ${srcdir}/${_realname}-${pkgver}
./configure --prefix=${MINGW_PREFIX}
}
package() {
cd ${srcdir}/${_realname}-${pkgver}
make DESTDIR="$pkgdir" install
}