summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-07-18 16:43:21 +0800
committerzxp198210052023-07-18 16:43:21 +0800
commitb648384800bdb6cd920f67fc0370ec8ca15c8637 (patch)
treed0662a72ea7fd88fa2dcb84305b3c299cb87d4a8
parent72ae99e75ad52fdd750095620945c1108a79af03 (diff)
downloadaur-b648384800bdb6cd920f67fc0370ec8ca15c8637.tar.gz
update to 7.8.5
-rw-r--r--.SRCINFO43
-rw-r--r--PKGBUILD31
2 files changed, 25 insertions, 49 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88341200ad5b..d49bf5079062 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,41 +1,22 @@
pkgbase = prepros-bin
pkgdesc = Prepros compiles your files, transpiles your JavaScript, reloads your browsers and makes it really easy to develop & test your websites so you can focus on making them perfect.
- pkgver = 7.7.0
- pkgrel = 2
+ pkgver = 7.8.5
+ pkgrel = 1
url = https://prepros.io
arch = x86_64
license = custom:proprietary
- depends = nspr
- depends = at-spi2-core
- depends = alsa-lib
- depends = libxfixes
+ depends = bash
+ depends = java-runtime
+ depends = electron25
+ depends = perl
+ depends = lib32-gcc-libs
+ depends = lib32-glibc
depends = glibc
- depends = libxcomposite
depends = gcc-libs
- depends = libxrandr
- depends = cairo
- depends = expat
- depends = libdrm
- depends = sh
- depends = libxcb
- depends = perl
- depends = libcups
- depends = libxext
- depends = glib2
- depends = dbus
- depends = pango
- depends = mesa
depends = zlib
- depends = libx11
- depends = libxdamage
- depends = gdk-pixbuf2
- depends = libxkbcommon
- depends = gtk3
- depends = nodejs
- depends = java-runtime
- depends = nss
- options = !strip
- source = prepros-7.7.0.deb::https://downloads.prepros.io/v7/7.7.0/Prepros-7.7.0.deb
- sha256sums = 0cc2137f97428954bc86b3a5cee198401d32189b0d9bfde57bb1d5273eb5fa11
+ source = prepros-7.8.5.deb::https://downloads.prepros.io/v7/7.8.5/Prepros-7.8.5.deb
+ source = prepros.sh
+ sha256sums = 4cacf100b84428c31d6fa0e64eb36918bcc387d4358459f5790483c22f0a6fa3
+ sha256sums = 656c3bb05396338c36ca8d3d626f900fc0edf450f999040920e10e03a3a25c26
pkgname = prepros-bin
diff --git a/PKGBUILD b/PKGBUILD
index 65eccf737ce4..b87c8a0e8b9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,27 +3,22 @@
# Contributor: Prepros <hi@prepros.io>
# Contributor: solopasha <daron439 at gmail dot com>
pkgname=prepros-bin
-pkgver=7.7.0
-pkgrel=2
+pkgver=7.8.5
+pkgrel=1
pkgdesc="Prepros compiles your files, transpiles your JavaScript, reloads your browsers and makes it really easy to develop & test your websites so you can focus on making them perfect."
arch=('x86_64')
url="https://prepros.io"
license=('custom:proprietary')
-depends=('nspr' 'at-spi2-core' 'alsa-lib' 'libxfixes' 'glibc' 'libxcomposite' 'gcc-libs' 'libxrandr' 'cairo' \
- 'expat' 'libdrm' 'sh' 'libxcb' 'perl' 'libcups' 'libxext' 'glib2' 'dbus' 'pango' 'mesa' 'zlib' 'libx11' \
- 'libxdamage' 'gdk-pixbuf2' 'libxkbcommon' 'gtk3' 'nodejs' 'java-runtime' 'nss')
-options=('!strip')
-source=("${pkgname%-bin}-${pkgver}.deb::https://downloads.prepros.io/v7/${pkgver}/Prepros-${pkgver}.deb")
-sha256sums=('0cc2137f97428954bc86b3a5cee198401d32189b0d9bfde57bb1d5273eb5fa11')
-prepare() {
- mkdir "${srcdir}/tmp"
- bsdtar -xf "${srcdir}/data.tar.zst" -C "${srcdir}/tmp"
- sed 's|Exec=prepros|Exec=/opt/prepros/prepros|g' -i "${srcdir}/tmp/usr/share/applications/${pkgname%-bin}.desktop"
-}
+depends=('bash' 'java-runtime' 'electron25' 'perl' 'lib32-gcc-libs' 'lib32-glibc' 'glibc' 'gcc-libs' 'zlib')
+source=("${pkgname%-bin}-${pkgver}.deb::https://downloads.prepros.io/v7/${pkgver}/Prepros-${pkgver}.deb"
+ "${pkgname%-bin}.sh")
+sha256sums=('4cacf100b84428c31d6fa0e64eb36918bcc387d4358459f5790483c22f0a6fa3'
+ '656c3bb05396338c36ca8d3d626f900fc0edf450f999040920e10e03a3a25c26')
package() {
- install -Dm755 -d "${pkgdir}/opt" "${pkgdir}/usr"
- cp -r "${srcdir}/tmp/usr/lib/${pkgname%-bin}" "${pkgdir}/opt"
- cp -r "${srcdir}/tmp/usr/share" "${pkgdir}/usr"
- install -Dm755 "${srcdir}/tmp/usr/bin/${pkgname%-bin}" -t "${pkgdir}/opt/${pkgname%-bin}"
- install -Dm644 "${pkgdir}/usr/share/doc/${pkgname%-bin}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/license"
+ bsdtar -xf "${srcdir}/data.tar.zst"
+ install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/opt/${pkgname%-bin}/${pkgname%-bin}"
+ cp -r "${srcdir}/usr/lib/${pkgname%-bin}/resources/"* "${pkgdir}/opt/${pkgname%-bin}"
+ sed "s|prepros %U|/opt/${pkgname%-bin}/${pkgname%-bin}|g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
+ install -Dm644 "${srcdir}/usr/share/doc/${pkgname%-bin}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/license"
+ install -Dm644 "${srcdir}/usr/share/pixmaps/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
} \ No newline at end of file