File tree 4 files changed +70
-0
lines changed
4 files changed +70
-0
lines changed Original file line number Diff line number Diff line change
1
+ *
2
+ * . *
Original file line number Diff line number Diff line change
1
+ # Maintainer: taotieren <admin@taotieren.com>
2
+
3
+ pkgname=mfgtools-git
4
+ pkgver=1.5.4.r2.gf7aaaae
5
+ pkgrel=1
6
+ epoch=
7
+ pkgdesc=" uuu (Universal Update Utility), mfgtools 3.0. Freescale/NXP I.MX Chip image deploy tools."
8
+ arch=(' x86_64' )
9
+ url=" https://github.com/NXPmicro/mfgtools"
10
+ license=(' BSD' )
11
+ groups=()
12
+ depends=(' bzip2' ' zlib' ' libusb' ' libzip' ' openssl' )
13
+ makedepends=(' cmake' ' git' )
14
+ checkdepends=()
15
+ optdepends=()
16
+ provides=(' uuu' ' mfgtool' )
17
+ conflicts=(${pkgname% -git} )
18
+ replaces=()
19
+ backup=()
20
+ options=(' !strip' )
21
+ install=
22
+ changelog=
23
+ source=(" ${pkgname% -git} ::git+${url} .git"
24
+ " uuu-complete.bash" )
25
+ noextract=()
26
+ sha256sums=(' SKIP'
27
+ ' ffc8e32655ce574a4719c85c5c9a3530a5ec619e933fc801a291df8ec506a442' )
28
+ # validpgpkeys=()
29
+
30
+ pkgver () {
31
+ cd " ${srcdir} /${pkgname% -git} "
32
+ git describe --long --tags | sed ' s/\([^-]*-g\)/r\1/;s/-/./g;s/uuu_//g' | sed ' s/\([^-]*-g\)/r\1/;s/-/./g'
33
+ }
34
+
35
+ build () {
36
+ cd " ${srcdir} /${pkgname% -git} "
37
+ cmake -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
38
+ make -C build
39
+ }
40
+
41
+ package () {
42
+ cd " ${srcdir} /${pkgname% -git} /build"
43
+ make DESTDIR=" $pkgdir /" install
44
+ install -Dm0644 " ${srcdir} /uuu-complete.bash" " ${pkgdir} /etc/bash_completion.d/uuu-complete.bash"
45
+ install -Dm0644 " ${srcdir} /${pkgname% -git} /LICENSE" " ${pkgdir} /usr/share/licenses/${pkgname% -git} /LICENSE"
46
+ install -dm0755 " ${pkgdir} /etc/udev/rules.d/"
47
+ ./uuu/uuu -udev > " ${pkgdir} /etc/udev/rules.d/70-uuu.rules"
48
+
49
+ }
Original file line number Diff line number Diff line change
1
+ maintainers :
2
+ - github : taotieren
3
+
4
+ build_prefix : extra-x86_64
5
+
6
+ pre_build : vcs_update
7
+
8
+ post_build_script : |
9
+ git_pkgbuild_commit()
10
+ update_aur_repo()
11
+
12
+ update_on :
13
+ - source : github
14
+ github : NXPmicro/mfgtools
Original file line number Diff line number Diff line change
1
+ _uuu_autocomplete ()
2
+ {
3
+ COMPREPLY=($( /usr/bin/uuu $1 $2 $3 ) )
4
+ }
5
+ complete -o nospace -F _uuu_autocomplete uuu
You can’t perform that action at this time.
0 commit comments