diff options
author | Marcin Depa | 2023-10-23 22:43:30 +0200 |
---|---|---|
committer | Marcin Depa | 2023-10-23 22:43:30 +0200 |
commit | 4c92c6adf902de1e0e5f6c4499c2ac3caf15ddf3 (patch) | |
tree | c52226f8ce3f924cb1307485c440a0e601090f53 | |
parent | d143a61424a2aa9eb3232bd00a3a0c73fd3e8fdf (diff) | |
download | aur-4c92c6adf902de1e0e5f6c4499c2ac3caf15ddf3.tar.gz |
5.4.0 version
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rwxr-xr-x | buildAndInstall.sh | 8 |
3 files changed, 9 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = lycheeslicer pkgdesc = Lychee Slicer - pkgver = 5.3.2 + pkgver = 5.4.0 pkgrel = 1 url = http://mango3d.io install = lycheeslicer.install @@ -18,7 +18,7 @@ pkgbase = lycheeslicer optdepends = libappindicator-gtk3 options = !strip options = !emptydirs - source_x86_64 = https://mango-lychee.nyc3.cdn.digitaloceanspaces.com/LycheeSlicer-5.3.2.deb - sha512sums_x86_64 = 7ab4460e0cb33e263f2156f56000cb2b2a2f727c9a7bcca43f9fdd7597f50891cda4d3e79e8ee8cc2f66ff97f59c6d36af7fcfefb0df590e93737818944f7c7b + source_x86_64 = https://mango-lychee.nyc3.cdn.digitaloceanspaces.com/LycheeSlicer-5.4.0.deb + sha512sums_x86_64 = b9d4ef86af89048803e90d9c2718f72e9098797a7c3d3818f25d3a18e64cda89a5a964b0d3afeb6615847ea2cdb5d0adf1306aa68e88029636fe38e40c90a315 pkgname = lycheeslicer @@ -2,7 +2,7 @@ # Maintainer: LycheeSlicer # Contributor: LycheeSlicer pkgname=lycheeslicer -pkgver=5.3.2 +pkgver=5.4.0 pkgrel=1 pkgdesc="Lychee Slicer" arch=('x86_64') @@ -13,7 +13,7 @@ optdepends=('libappindicator-gtk3') options=('!strip' '!emptydirs') install=${pkgname}.install source_x86_64=("https://mango-lychee.nyc3.cdn.digitaloceanspaces.com/LycheeSlicer-$pkgver.deb") -sha512sums_x86_64=('7ab4460e0cb33e263f2156f56000cb2b2a2f727c9a7bcca43f9fdd7597f50891cda4d3e79e8ee8cc2f66ff97f59c6d36af7fcfefb0df590e93737818944f7c7b') +sha512sums_x86_64=('b9d4ef86af89048803e90d9c2718f72e9098797a7c3d3818f25d3a18e64cda89a5a964b0d3afeb6615847ea2cdb5d0adf1306aa68e88029636fe38e40c90a315') package(){ # Extract package data tar xf data.tar.xz -C "${pkgdir}" diff --git a/buildAndInstall.sh b/buildAndInstall.sh index c992f651abca..409b704365bd 100755 --- a/buildAndInstall.sh +++ b/buildAndInstall.sh @@ -12,10 +12,10 @@ SHA512=$(wget -q -O - "https://mango-lychee.nyc3.cdn.digitaloceanspaces.com/Lych echo "Preparing PKG file" sed -i "s@sha512sums_x86_64=(.*)@sha512sums_x86_64=('$SHA512')@g" PKGBUILD sed -i "s@pkgver=.*@pkgver=$VERSION@g" PKGBUILD -makepkg --printsrcinfo > .SRCINFO && makepkg +makepkg --printsrcinfo > .SRCINFO && makepkg -f PKG_FILE=$(ls -t1 *.tar.zst | head -n 1) printf "Done, install $PKG_FILE? [Y/n]" -read install -if [ "$install" = "y" ]; then - sudo pacman -U *.tar.zst +read -n1 install +if [ "${install,,}" = "y" ]; then # ${VAR,,} is for convert to lower case + sudo pacman -U "$PKG_FILE" fi |