summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1431efd89284ce8c3f099dc16a3aba89b93f209f (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: Hugo Parente Lima <hugo.pl@gmail.com>

pkgname=tijolo
pkgver=0.9.1
pkgrel=1
pkgdesc="Lightweight, keyboard-oriented IDE"
arch=("x86_64")
conflicts=("tijolo-git")
url="https://github.com/hugopl/tijolo"
license=("MIT")
depends=("gc" "libevent" "pcre2" "gtk4>=1:4.12.4" "libadwaita>=1:1.4.2" "gtksourceview5" "ttf-jetbrains-mono-nerd" "vte4")
makedepends=("make" "git" "crystal>=1.11.1" "shards>=0.14.0" "libyaml")
#optdepends=('ccls: C/C++ LSP support'
#            'bash-language-server: Bash LSP support'
#            'yaml-language-server: YAML LSP support'
#            'python-lsp-server: Python LSP support')
source=("$pkgname-$pkgver.tar.gz::https://github.com/hugopl/tijolo/archive/v${pkgver}.tar.gz")
sha256sums=('5308c8c0abdf5392e54353f00bd4fb85852f3d6214e3aae13e4fec396141b622')

build() {
  cd "$srcdir/tijolo-$pkgver"
  make
}

package() {
  cd "$srcdir/tijolo-$pkgver"
  make install DESTDIR="${pkgdir}"
  rm -rf ${pkgdir}/usrshare
  install -D -m644 data/gschema.xml ${pkgdir}/usr/share/glib-2.0/schemas/io.github.hugopl.Tijolo.gschema.xml
}