diff options
author | Evgeny Shvits | 2020-06-06 19:48:55 +0300 |
---|---|---|
committer | Evgeny Shvits | 2020-06-06 19:48:55 +0300 |
commit | a6fae6c03f375fa448d796647f9e14c51e28c3a2 (patch) | |
tree | bfa9e10435fb577fc41f04616a7f57adf33522e3 /PKGBUILD | |
parent | 832bd98a841943d731e26180f88d73b18493e6c5 (diff) | |
download | aur-ch341eepromtool.tar.gz |
PATCH: fix ch341funcs.c for new libusb and add extern in *readbuf
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -2,15 +2,25 @@ pkgname=ch341eepromtool pkgver=0.5 -pkgrel=2 +pkgrel=3 _git_commit="6b41e07" pkgdesc="An i2c serial EEPROM programming tool for the WCH CH341A" arch=('i686' 'x86_64') url="https://github.com/stefanct/ch341eepromtool" license=('GPL3') depends=('libusb>=1') -source=("git+https://github.com/stefanct/ch341eepromtool.git#commit=${_git_commit}") -md5sums=('SKIP') +source=("git+https://github.com/stefanct/ch341eepromtool.git#commit=${_git_commit}" + "libusb_set_option.patch" + "extern_readbuf.patch") +md5sums=('SKIP' + '9c2db0e0c9e72be4d9d8e6544e75c34b' + '5409cb99d67bbe4decab130e4c688c74') + +prepare() { + cd "${srcdir}/${pkgname}" + patch -p1 --input="${srcdir}/libusb_set_option.patch" + patch -p1 --input="${srcdir}/extern_readbuf.patch" +} build() { cd "${srcdir}/${pkgname}" |