summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrLi2020-12-07 16:08:40 +0800
committerBrLi2020-12-07 16:08:40 +0800
commit3e212e864fe9e223a44f301dc6dae614854beae7 (patch)
tree1f09f2681eeb32ee38c8100aa065bfce6c3b0351 /PKGBUILD
parent760529b50c29e7624621fbbfac2081e1d2b7c3eb (diff)
downloadaur-pencil.tar.gz
introduce upstream fix for various bugs
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bb9a69cdd2e..9b457d16809 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,28 @@
pkgname=pencil
pkgver=3.1.0
-pkgrel=6
+pkgrel=7
pkgdesc="Sketching and GUI prototyping/wireframing tool"
arch=('any')
license=('GPL2')
url="https://github.com/evolus/pencil"
-depends=(electron9)
+depends=(electron)
makedepends=(yarn)
source=("https://github.com/evolus/pencil/archive/v$pkgver.tar.gz"
- 'fixed-package-json.patch')
+ 'fix-package-json.patch'
+ 'upstream.patch')
sha256sums=('e14eddd0aad28919cfdf8d47b726f9c75a3a0d2042605e8da96309c23a995f44'
- 'ab36a7476d4a04dc684441f67faa3f7f84168a725b4e977d467e0b4321eb0d50')
+ '7094d33707a1fa27b79f296b3083584643150935ac4e464ebd44a82ed04ad036'
+ '78c28950a497495f3efef0b915283c10fd834c83996471291ae6ac18e3256997')
conflicts=('evolus-pencil-bin' 'pencil-v2')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/upstream.patch"
# We don't build electron and friends, and don't depends on postinstall script
- patch -Np1 -i "${srcdir}/fixed-package-json.patch"
+ patch -Np1 -i "${srcdir}/fix-package-json.patch"
sed '/^\s*\"electron.*$/d;/postinstall/d' -i app/package.json
}
@@ -57,7 +61,7 @@ package() {
install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" <<END
#!/bin/sh
-exec electron9 /${_destdir} "\$@"
+exec electron /${_destdir} "\$@"
END
cd "${srcdir}/${pkgname}-${pkgver}"