blob: 55f9e2306a9e24de3acdfaec03ecf22fbb63b885 (
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
|
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
pkgname=tl866-updater-git
_pkgname=TL866
pkgver=r215.bbc88d7
pkgrel=1
pkgdesc="Open source software for Minipro TL866 eprom programmer"
arch=('i686' 'x86_64')
url="https://github.com/radiomanV/TL866"
license=('GPL2')
depends=('qt5-base' 'libusb')
source=("git+https://github.com/radiomanV/TL866")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}/TL866_Updater/QT"
qmake
make
}
package() {
cd "${srcdir}/${_pkgname}/TL866_Updater/QT"
install -D --mode=0755 TL866_Updater "${pkgdir}/usr/bin/tl866-updater"
}
|