blob: a6616f5f581c49c0b2f846c6f12f71fdd5a34ab2 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
pkgname=o-bin
pkgver=2.59.3
pkgrel=1
pkgdesc='Text editor, IDE and gdb frontend (CLI only)'
arch=(aarch64 armv6 armv7 riscv64 x86_64)
url='https://github.com/xyproto/o'
license=(BSD)
conflicts=(o)
source=("https://github.com/xyproto/o/releases/download/v$pkgver/o-$pkgver-linux_${CARCH}_static.tar.xz")
optdepends=('asciidoctor: for writing man pages'
'agda: for compiling Agda'
'astyle: for formatting C#'
'autopep8: for formatting Python'
'brittany: for formatting Haskell'
'clang: for formatting C++ code with clang-format'
'clojure: for compiling Clojure'
'crystal: for compiling Crystal'
'cxx: for compiling C and C++'
'elm-bin: for compiling Elm'
'fpc: for compiling Object Pascal'
'fstabfmt: for formatting /etc/fstab'
'gdb: for debugging C'
'gdc: for compiling D'
'ghc: for compiling Haskell'
'godot: for using GDScript'
'google-java-format: for formatting Java'
'guessica: for updating PKGBUILD files'
'hare: for compiling Hare'
'jad: for decompiling .class files on the fly'
'java-environment: for compiling Java'
'kotlin: for compiling Kotlin'
'ktlint: for formatting Kotlin'
'lua: for compiling Lua'
'lua-format: for formatting Lua'
'mlton: for compiling Standard ML'
'mono: for compiling C#'
'nasm: for compiling Assembly'
'ocaml: for compiling and formatting OCaml'
'odin: for compiling Odin'
'perl-tidy: for formatting Perl'
'pandoc-bin: for exporting Markdown to PDF'
'prettier: for formatting JavaScript, TypeScript and CSS'
'rustup: for compiling and formatting Rust'
'scala: for compiling Scala'
'scdoc: for writing man pages'
'shfmt: for formattig Shell scripts'
'tidy: for formatting HTML'
'vlang: for compiling and formatting V'
'yasm: for compiling Assembly'
'zig: for compiling and formatting Zig')
sha256sums=('9a8a4857e83883c813a334a07a060d4714dacbd6d47d782d862b1a5d0d9c19dd')
b2sums=('30122e66bb5ed53f71bc9d1a5a85c1821d9975fe9bb1e01042e0e16a431787aaebf1eff8f8adabb699a6a7b0637ac29fb9cab2f5a0c8efde487595f71739b940')
package() {
cd o-$pkgver-linux_${CARCH}_static
install -Dm755 o "$pkgdir/usr/bin/o"
install -Dm644 o.1.gz "$pkgdir/usr/share/man/man1/o.1.gz"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Recommended symlinks for o
ln -sf /usr/bin/o "$pkgdir/usr/bin/li"
ln -sf /usr/bin/o "$pkgdir/usr/bin/redblack"
ln -sf /usr/bin/o "$pkgdir/usr/bin/sw"
ln -sf /usr/bin/o "$pkgdir/usr/bin/edi"
ln -sf /usr/bin/o "$pkgdir/usr/bin/vs"
ln -sf /usr/bin/o "$pkgdir/usr/bin/feedgame"
}
|