[arch-commits] Commit in arduino/trunk (PKGBUILD)
NicoHood
nicohood at archlinux.org
Sat Jul 11 09:19:59 UTC 2020
Date: Saturday, July 11, 2020 @ 09:19:58
Author: nicohood
Revision: 663244
upgpkg: arduino 1:1.8.13-1
Added Man page FS#66160
Removed broken reference symlink FS#67085
Modified:
arduino/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-11 09:04:35 UTC (rev 663243)
+++ PKGBUILD 2020-07-11 09:19:58 UTC (rev 663244)
@@ -9,7 +9,7 @@
# Contributor: tty0 <vt.tty0[d0t]gmail.com>
pkgname=arduino
-pkgver=1.8.12
+pkgver=1.8.13
pkgrel=1
epoch=1
pkgdesc="Arduino prototyping platform SDK"
@@ -17,7 +17,7 @@
url="https://github.com/arduino/Arduino"
license=('GPL' 'LGPL')
depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'java-runtime>=8' 'arduino-builder')
-makedepends=('java-environment>=8' 'ant' 'unzip')
+makedepends=('java-environment>=8' 'ant' 'unzip' 'asciidoc')
optdepends=('arduino-docs: Offline documentation for arduino'
'arduino-avr-core: AVR core with upstream avr-gcc and avrdude'
'python2: Intel Galileo Board installation')
@@ -32,7 +32,7 @@
"https://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.2-2.zip"
"https://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.2-2.zip.asc"
"arduino.sh")
-sha512sums=('3373155277aaba9ab50c1afea21b55b927ea5c6a7c083f9089224abcccb93ea906e6b1b357a1617e13fe7d685608f4a2051f04e32e1214a6a23972da010169cf'
+sha512sums=('c6c1d15eb302b40e7b395a54becce79fe4688bf0379618a68c36c439923aec96be0d91f6ae35947230713c94532938760fbf96a94ed542a4f4b9a3ba9aa1d19c'
'SKIP'
'eacd20bfcc759f0b0744629073d1debd3d4fd8a36e5948314d149902568158839965755b833a263a71c65d7092d9091a5d05695c01854d4fb308fbec3711bd3c'
'SKIP'
@@ -54,6 +54,9 @@
-Dno_docs=true \
-Dlocal_sources=true \
-Dno_arduino_builder=true
+
+ # Build man page
+ a2x -f manpage shared/manpage.adoc
}
package() {
@@ -86,7 +89,6 @@
#rm "${pkgdir}/usr/share/arduino/lib/liblistSerialsj.so"
#ln -s /usr/lib/libserialport.so "${pkgdir}/usr/share/arduino/lib/liblistSerialsj.so"
rm -r "${pkgdir}/usr/share/arduino/reference"
- ln -s /usr/share/doc/arduino "${pkgdir}/usr/share/arduino/reference"
# Install desktop icons (keep a symlink for the arduino binary)
cp -a lib/icons/* "${pkgdir}/usr/share/icons/hicolor"
@@ -99,4 +101,7 @@
# Install Arduino mime type
ln -s /usr/share/arduino/lib/arduino-arduinoide.xml "${pkgdir}/usr/share/mime/packages/arduino.xml"
+
+ # Install manpage
+ install -Dm644 "${srcdir}/arduino-${pkgver}/build/shared/arduino.1" "${pkgdir}/usr/share/man/man1/arduino.1"
}
More information about the arch-commits
mailing list