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 | |
parent | cda4aa8d1c4db3fd190a192535b0b12e738d4b7a (diff) | |
download | aur-b125444ccad908a7493befcaafbb84042c7b511d.tar.gz |
Updating pkgbuild to bring in a custom binary using community electron
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 16 insertions, 28 deletions
@@ -1,23 +1,12 @@ pkgbase = micropad pkgdesc = A powerful notepad app that respects your freedoms and runs on everything. pkgver = 3.8.2 - pkgrel = 1 + pkgrel = 2 url = https://getmicropad.com install = micropad.install arch = x86_64 license = MPL2 - depends = c-ares - depends = gconf - depends = gtk3 - depends = http-parser - depends = libevent - depends = libvpx - depends = libxslt - depends = libxss - depends = minizip - depends = nss - depends = re2 - depends = snappy + depends = electron source = https://github.com/MicroPad/Electron/releases/download/v3.8.2/micropad-3.8.2.pacman md5sums = f1a4287e26cadd94153dd1500c08d1eb diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9344d506e47d --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +* +!.gitignore +!PKGBUILD +!micropad.install +!.SRCINFO +!dist/micropad @@ -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" } |