diff options
author | brx86 | 2021-09-07 07:49:17 +0800 |
---|---|---|
committer | brx86 | 2021-09-07 07:49:17 +0800 |
commit | 5f72d9c504b6a5c74e1901e53bd68af906278154 (patch) | |
tree | 6e9f4ea071d787ec1a3ffb60687b35e362443783 /PKGBUILD | |
parent | 1bb35b23e32df28c5e13a29a111a2d093ea342bf (diff) | |
download | aur-arduino-beta-bin.tar.gz |
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -2,29 +2,29 @@ pkgname=arduino-beta-bin _pkgname=arduino-beta -pkgver=2.0.0b11 -pkgrel=1 +_pkgver=2.0.0-beta.11 +pkgver=${_pkgver/-beta./b} +pkgrel=2 pkgdesc="A Major Rewrite, Sharing No Code With the Arduino IDE 1.x" arch=('x86_64') url="https://github.com/arduino/arduino-ide" license=('AGPL3') makedepends=('tar') options=('!strip' 'emptydirs') -source=("$_pkgname-$pkgver.zip::https://github.com/arduino/arduino-ide/releases/download/2.0.0-beta.11/arduino-ide_2.0.0-beta.11_Linux_64bit.zip" +source=("https://github.com/arduino/arduino-ide/releases/download/${_pkgver}/arduino-ide_${_pkgver}_Linux_64bit.zip" "$_pkgname.desktop" "$_pkgname.png" - "$_pkgname" ) -md5sums=('49f5d427dabe8eb12d8b02b71ce4f7fa' - 'fdd24c05ca7faed01893ebd5a732351d' - 'bbc2e7c5c6d340a3c6d1c56f0ef2733c' - '34f9f2dc00f844cd6b40e6d3ee9ec1ed') +sha256sums=('a39875e76c9a4e307ce4c1c887b403b845870e3149ef0b07ec2264eeedaa6c85' + '77e2cab9b6e79c97b1311b4100049dc1be5d186fd7ab054e7673c662aac27d34' + '1568663b6ee0c7eb5b642ca1d131cc37b996992ce4b3b8b9e6f720280158fa1b') package() { - install -Dm755 "$_pkgname" "${pkgdir}/usr/bin/$_pkgname" - install -Dm644 "$_pkgname.desktop" "${pkgdir}/usr/share/applications/$_pkgname.desktop" - install -Dm644 "$_pkgname.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/$_pkgname.png" - mkdir "${pkgdir}/opt/" - cp -r arduino-ide_2.0.0-beta.11_Linux_64bit "${pkgdir}/opt/$_pkgname" + install -dm755 "$pkgdir/opt/" + install -dm755 "$pkgdir/usr/bin/" + install -Dm644 "$_pkgname.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png" + install -Dm644 "$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop" + cp -r arduino-ide_${_pkgver}_Linux_64bit "$pkgdir/opt/$_pkgname" + ln -s "/opt/$_pkgname/arduino-ide" "$pkgdir/usr/bin/arduino-beta" }
\ No newline at end of file |