mirror of
https://aur.archlinux.org/notable-insiders-electron.git
synced 2024-09-10 13:46:41 +00:00
Initial version
This commit is contained in:
commit
1995bb50db
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = notable-insiders-electron
|
||||
pkgdesc = Insider build of the Notable note-taking app
|
||||
pkgver = 1.9.0.beta.3
|
||||
pkgrel = 1
|
||||
url = https://github.com/notable/notable-insiders
|
||||
arch = any
|
||||
license = UNLICENSED
|
||||
makedepends = asar
|
||||
depends = electron16
|
||||
depends = sh
|
||||
provides = notable
|
||||
conflicts = notable-insiders-bin
|
||||
source = https://github.com/notable/notable-insiders/releases/download/v1.9.0-beta.3/Notable-1.9.0-beta.3.AppImage
|
||||
source = notable.desktop
|
||||
sha512sums = 76414dafd5ee5f525365d2f9a1232d0436c75de8c2f083853724fb936145d56dd9027dc3bcc35a4edc4b1d399788275fa35bfb5a91dbe08403d9cc13bc8b2816
|
||||
sha512sums = 3f95463979fb112d08077ecda88663a1bf978b6367b035037a6615039bafd7f3d248eaf1cce0182844f2b7d727ba8430cf2d954fe776314a1da966c5cbf99270
|
||||
|
||||
pkgname = notable-insiders-electron
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.AppImage
|
||||
*.tar
|
47
PKGBUILD
Normal file
47
PKGBUILD
Normal file
@ -0,0 +1,47 @@
|
||||
# Maintainer: Nemo aur [at] captnemo.in
|
||||
pkgname=notable-insiders-electron
|
||||
pkgdesc='Insider build of the Notable note-taking app'
|
||||
_electron=electron16
|
||||
packager="nemo"
|
||||
_pkgver="1.9.0-beta.3"
|
||||
pkgver=${_pkgver/-/.}
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url='https://github.com/notable/notable-insiders'
|
||||
license=('UNLICENSED')
|
||||
makedepends=('asar')
|
||||
depends=($_electron sh)
|
||||
source=("$url/releases/download/v$_pkgver/Notable-$_pkgver.AppImage"
|
||||
"notable.desktop")
|
||||
sha512sums=('76414dafd5ee5f525365d2f9a1232d0436c75de8c2f083853724fb936145d56dd9027dc3bcc35a4edc4b1d399788275fa35bfb5a91dbe08403d9cc13bc8b2816'
|
||||
'3f95463979fb112d08077ecda88663a1bf978b6367b035037a6615039bafd7f3d248eaf1cce0182844f2b7d727ba8430cf2d954fe776314a1da966c5cbf99270')
|
||||
provides=('notable')
|
||||
conflicts=('notable-insiders-bin')
|
||||
|
||||
build() {
|
||||
local _source0=${source[0]##*/}
|
||||
chmod +x $_source0
|
||||
./$_source0 --appimage-extract
|
||||
asar extract squashfs-root/resources/app.asar ${pkgname}
|
||||
|
||||
cat > notable.sh <<EOF
|
||||
#!/bin/sh
|
||||
exec $_electron /usr/lib/${pkgname} "\$@"x
|
||||
EOF
|
||||
chmod +x notable.sh
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm 755 "${pkgdir}"/usr/lib/${pkgname}
|
||||
cp --archive --no-preserve=ownership\
|
||||
${pkgname} "${pkgdir}"/usr/lib
|
||||
|
||||
install -dm755 "${pkgdir}"/usr/share/icons/hicolor
|
||||
install -Dm755 notable.sh "${pkgdir}"/usr/bin/notable
|
||||
cp --archive \
|
||||
--no-preserve=ownership \
|
||||
squashfs-root/usr/share/icons/hicolor/* "${pkgdir}"/usr/share/icons/hicolor
|
||||
find "${pkgdir}"/usr/share/icons/hicolor -type d -exec chmod 755 {} \;
|
||||
|
||||
install -Dm644 ${srcdir}/notable.desktop "${pkgdir}"/usr/share/applications/notable.desktop
|
||||
}
|
10
notable.desktop
Normal file
10
notable.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Notable
|
||||
Exec=notable
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=notable
|
||||
StartupWMClass=Notable
|
||||
Comment=The Markdown-based note-taking app that doesn’t suck.
|
||||
MimeType=x-scheme-handler/notable;
|
||||
Categories=Utility;
|
Loading…
Reference in New Issue
Block a user