diff options
author | Loen | 2016-07-18 19:04:47 +0000 |
---|---|---|
committer | Loen | 2016-07-18 19:04:47 +0000 |
commit | 4fe17f5c98e4ecac7ecbc3243d549f79eba6030e (patch) | |
tree | 2ca42741d0d70a3ba4953d9d41b51fcea0758781 | |
parent | cf3a86ba2316a6e28c5b2de318b81417849fe682 (diff) | |
download | aur-4fe17f5c98e4ecac7ecbc3243d549f79eba6030e.tar.gz |
Added .xml and .desktop files
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | arduino.install | 3 | ||||
-rw-r--r-- | arduino.xml | 44 |
4 files changed, 48 insertions, 3 deletions
@@ -18,6 +18,7 @@ pkgbase = arduino depends = jre8-openjdk depends = avrdude provides = arduino + conflicts = arduino-bin source = https://github.com/arduino/Arduino/archive/1.6.9.tar.gz sha512sums = 92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8 @@ -17,6 +17,7 @@ depends=('gtk2' 'desktop-file-utils' 'shared-mime-info' 'jre8-openjdk' 'avrdude' makedepends=('jdk8-openjdk' 'apache-ant') install="arduino.install" provides=('arduino') +conflicts=('arduino-bin') source=("https://github.com/arduino/Arduino/archive/${pkgver}.tar.gz") sha512sums=('92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8') @@ -27,7 +28,7 @@ build() { package() { cd "Arduino-${pkgver}/build/linux/work" - + install -dm755 "${pkgdir}/usr/bin" install -dm755 "${pkgdir}/usr/share/"{doc,icons/hicolor,applications,mime/packages} diff --git a/arduino.install b/arduino.install index 9a2794a97038..4015160bfaa9 100644 --- a/arduino.install +++ b/arduino.install @@ -1,4 +1,3 @@ post_install() { - echo "Add yourself to the uucp group to access the serial ports:" - echo "sudo usermod -a -G uucp <user>" + echo "Don't forget to add yourself to the uucp and lock groups: gpasswd -a <user> uucp && gpasswd -a <user> lock (execute as root)" } diff --git a/arduino.xml b/arduino.xml new file mode 100644 index 000000000000..166b5a245f30 --- /dev/null +++ b/arduino.xml @@ -0,0 +1,44 @@ +<?xml version='1.0' encoding='utf-8'?> +<!-- Copied from the Ubuntu package --> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="text/x-arduino"> + <comment>Arduino source code</comment> + <comment xml:lang="ara">شفرة مصدر Arduino</comment> + <comment xml:lang="be@latin">Kryničny kod Arduino</comment> + <comment xml:lang="bg">Изходен код на Arduino</comment> + <comment xml:lang="ca">codi font en Arduino</comment> + <comment xml:lang="da">Arduinokildekode</comment> + <comment xml:lang="de">Arduino-Quelltext</comment> + <comment xml:lang="el">πηγαίος κώδικας Arduino</comment> + <comment xml:lang="en_GB">Arduino source code</comment> + <comment xml:lang="eo">Arduino-fontkodo</comment> + <comment xml:lang="es">código fuente en Arduino</comment> + <comment xml:lang="eu">Arduino iturburu-kodea</comment> + <comment xml:lang="fi">Arduino-lähdekoodi</comment> + <comment xml:lang="fr">code source Arduino</comment> + <comment xml:lang="ga">cód foinseach Arduino</comment> + <comment xml:lang="hu">Arduino-forráskód</comment> + <comment xml:lang="id">Kode program Arduino</comment> + <comment xml:lang="it">Codice sorgente Arduino</comment> + <comment xml:lang="ja">Arduino ソースコード</comment> + <comment xml:lang="lt">Arduino pradinis kodas</comment> + <comment xml:lang="lv">Arduino pirmkods</comment> + <comment xml:lang="ms">Kod sumber Arduino</comment> + <comment xml:lang="nb">Arduino-kildekode</comment> + <comment xml:lang="nl">Arduino-broncode</comment> + <comment xml:lang="nn">Arduino-kjeldekode</comment> + <comment xml:lang="pl">Kod źródłowy Arduino</comment> + <comment xml:lang="pt">código fonte Arduino</comment> + <comment xml:lang="pt_BR">Código fonte Arduino</comment> + <comment xml:lang="ru">исходный код Arduino</comment> + <comment xml:lang="sq">Kod burues Arduino</comment> + <comment xml:lang="sv">Arduino-källkod</comment> + <comment xml:lang="uk">Вихідний код на мові Arduino</comment> + <comment xml:lang="vi">Mã nguồn Arduino</comment> + <comment xml:lang="zh_CN">Arduino 源代码</comment> + <comment xml:lang="zh_TW">Arduino 源代碼</comment> + <sub-class-of type="text/x-c++src"/> + <glob pattern="*.ino"/> + <glob pattern="*.pde"/> + </mime-type> +</mime-info> |