blob: c9502c6d7ed38d6f955538064884d93c108491fd (
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
31
32
33
34
35
36
37
|
# Maintainer: Daniel Liland <liland@await.sh>
pkgname=haystack-editor-bin
_pkgname=haystack-editor
pkgver=0.19.3
pkgrel=1
pkgdesc="An IDE built on top of a canvas, Haystack takes care of the tedious and confusing parts of coding for you"
arch=('x86_64')
url="https://haystackeditor.com"
license=(none)
provides=('haystack-editor')
conflicts=('haystack-editor')
depends=(libxkbfile gnupg gtk3 libsecret nss gcc-libs libnotify libxss glibc lsof shared-mime-info xdg-utils alsa-lib)
source=(haystack-editor.desktop)
source_x86_64=("https://d2dv27o1k99orf.cloudfront.net/Haystack+Editor+Linux-${pkgver}.zip")
sha256sums=('e60118c2d914911da80fcea2976081d247cdfe8b24ca1baa74ebfadd984784bf')
sha256sums_x86_64=('2768b997d600442010e81dc43e5a9ab3d8ee69045dfd8aa87162f9f953a0f207')
package() {
_pkg="Haystack"
install -d "${pkgdir}/opt/${_pkgname}"
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/share/icons"
install -m644 "${srcdir}/${_pkg}/resources/app/resources/linux/haystack.png" "${pkgdir}/usr/share/icons/${_pkgname}.png"
install -m644 "${srcdir}/haystack-editor.desktop" "${pkgdir}/usr/share/applications/haystack-editor.desktop"
install -Dm 644 "${srcdir}/${_pkg}/resources/completions/bash/haystack-editor" "${pkgdir}/usr/share/bash-completion/completions/haystack-editor"
install -Dm 644 "${srcdir}/${_pkg}/resources/completions/zsh/_haystack-editor" "${pkgdir}/usr/share/zsh/site-functions/_haystack-editor"
cp -r "${srcdir}/${_pkg}/"* "${pkgdir}/opt/${_pkgname}"
ln -s "/opt/${_pkgname}/bin/haystack-editor" "${pkgdir}/usr/bin/haystack-editor"
}
|