summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0124b362810c9943613207768c406fa827a1d840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Nick Webster <nick@nick.geek.nz>
pkgname=micropad
pkgver=3.19.3
pkgrel=1
pkgdesc="A powerful note-taking app that helps you organise + take notes without restrictions."
arch=('x86_64')
url="https://getmicropad.com"
license=('MPL2')
depends=(
	'electron>=5.0.0'
	'electron<6.0.0'
)
source=(
    "https://github.com/MicroPad/Electron/releases/download/v${pkgver}/${pkgname}-${pkgver}.pacman"
    "micropad-bin"
)
md5sums=(
    'f0c961c6d6c7fe43735abe57a759cf9a'
    '52be1867031e5fad9428138cdb6d027e'
)
install="micropad.install"

package() {
    # Replace bundled binary to use the community electron package
    chmod +x "${srcdir}/micropad-bin"
    cp "${srcdir}/micropad-bin" opt/┬ÁPad/micropad

    mv opt "${pkgdir}/opt"
    mv usr "${pkgdir}/usr"
}