summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsolopasha2023-01-14 00:30:17 +0300
committersolopasha2023-01-14 00:33:23 +0300
commit8d871f0b094f1fcf1988bf5fe247803af4e6119a (patch)
treec7b997e9342b9f2788b71e8a5830350d3145bde3 /PKGBUILD
parent111f88b13c166a5f3a56fe38fa363ec42aa84398 (diff)
downloadaur-8d871f0b094f1fcf1988bf5fe247803af4e6119a.tar.gz
upgpkg: prepros-bin 7.7.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 22 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 31f84535680a..8706beaf1f10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,32 @@
# Maintainer: Thomas Höß <hi@thomsn.de>
# Contributor: Prepros <hi@prepros.io>
+# Contributor: solopasha <daron439 at gmail dot com>
pkgname=prepros-bin
-pkgver=7.3.41
+pkgver=7.7.0
pkgrel=1
pkgdesc="Compile Sass, Less, Jade and much more with live browser refresh."
arch=('x86_64')
url="https://prepros.io"
-license=('custom:"Copyright (c) 2021 Prepros Ltd"')
-
-depends=('alsa-lib' 'atk' 'cairo' 'dbus' 'desktop-file-utils' 'electron' 'expat' 'fontconfig' 'freetype2' 'gconf' 'gdk-pixbuf2' 'glib2' 'gtk2' 'gvfs' 'hicolor-icon-theme' 'libcap' 'libcups' 'libgcrypt' 'libnotify' 'libsystemd' 'libudev0' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' 'nspr' 'nss' 'pango' 'xdg-utils' 'zlib')
-optdepends=('libgnome-keyring'
- 'lsb-release')
-options=('!strip' '!emptydirs')
-
-install=${pkgname}.install
-
-source_x86_64=("https://downloads.prepros.io/v7/Prepros-7.3.41.deb")
-sha512sums_x86_64=('41991e54e18ab398eabf18a2f6c91b95a14f966d0e789d93f2e7407e4be40d8676611d1b84e6dbffd3e59d02293e7a6152333da25ff20aa300ad5e900c5d3766')
-
-package(){
-
- # Extract package data
- tar xf data.tar.xz -C "${pkgdir}"
-
- install -D -m644 "${pkgdir}/usr/share/doc/prepros/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+source=("https://downloads.prepros.io/v7/${pkgver}/Prepros-${pkgver}.deb"
+ "prepros.sh")
+license=('custom:proprietary')
+options=('!strip')
+sha512sums=('8870c63baa36256394933f2f3e6018f7633a92dc9f2b3a92530a91b923b177bac12329d733cdb7e4f9980858e8f2e9564477d7888a82b6a6655450ad7288406a'
+ 'b0785ac40fd28671df558cdb10daa3758ff5ba052e8da381c0aa9c7340ba82719f7c9679433e393ea8921060eccaa17797764fcbf262258adc23ab78acc2c840')
+
+prepare() {
+ mkdir _fakeinstall
+ tar xf data.tar.zst -C _fakeinstall
+}
+package() {
+ depends=(electron)
+ install -Dm755 prepros.sh "${pkgdir}/usr/bin/prepros"
+ install -Dm644 _fakeinstall/usr/share/doc/prepros/copyright "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+ install -Dm644 _fakeinstall/usr/share/applications/prepros.desktop -t "${pkgdir}/usr/share/applications"
+ install -Dm644 _fakeinstall/usr/share/pixmaps/prepros.png -t "${pkgdir}/usr/share/pixmaps"
+ cd _fakeinstall/usr/lib/prepros/resources
+ find . -type d -exec install -d {,"$pkgdir"/usr/lib/${pkgname%-bin}/}{} \;
+ find . -type f -exec install -D {,"$pkgdir"/usr/lib/${pkgname%-bin}/}{} \;
}