diff options
author | Nick Webster | 2018-08-09 22:08:36 +1200 |
---|---|---|
committer | Nick Webster | 2018-08-09 22:08:56 +1200 |
commit | b125444ccad908a7493befcaafbb84042c7b511d (patch) | |
tree | 4d645f55e37b1f62d4bc2e01c04b76452c6b40c9 /PKGBUILD | |
parent | cda4aa8d1c4db3fd190a192535b0b12e738d4b7a (diff) | |
download | aur-b125444ccad908a7493befcaafbb84042c7b511d.tar.gz |
Updating pkgbuild to bring in a custom binary using community electron
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 8 insertions, 15 deletions
@@ -1,28 +1,21 @@ # Maintainer: Nick Webster <nick@nick.geek.nz> pkgname=micropad pkgver=3.8.2 -pkgrel=1 +pkgrel=2 pkgdesc="A powerful notepad app that respects your freedoms and runs on everything." arch=('x86_64') url="https://getmicropad.com" license=('MPL2') -depends=('c-ares' - 'gconf' - 'gtk3' - 'http-parser' - 'libevent' - 'libvpx' - 'libxslt' - 'libxss' - 'minizip' - 'nss' - 're2' - 'snappy') +depends=('electron') source=("https://github.com/MicroPad/Electron/releases/download/v${pkgver}/${pkgname}-${pkgver}.pacman") md5sums=('f1a4287e26cadd94153dd1500c08d1eb') install="micropad.install" package() { - mv opt "${pkgdir}/opt" - mv usr "${pkgdir}/usr" + # Replace bundled binary to use the community electron package + chmod +x ../dist/micropad + mv ../dist/micropad opt/micropad/micropad + + mv opt "${pkgdir}/opt" + mv usr "${pkgdir}/usr" } |