blob: 0ea38c416ef1651030371a35e4eeb769bd7e0531 (
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
|
# Maintainer: Amadeus Folego <amadeusfolego@gmail.com>
# Maintainer: Terje Larsen <terlar@gmail.com>
# Maintainer: Ariel AxionL <axionl@aosc.io>
pkgname=oni-bin
_betaver=0.3.7-beta3
_basicver=${_betaver/-*}
pkgver=0.3.9
pkgrel=2
pkgdesc='Oni: Modern Modal Editing - powered by Neovim.'
arch=('x86_64')
conflicts=("oni")
provides=("oni")
url='https://github.com/onivim/oni'
license=('MIT')
depends=('neovim' 'nodejs' 'gconf' 'alsa-lib' 'nss'
'gtk2' 'libxss' 'libxkbfile' 'libxtst')
makedepends=('fontconfig' 'nspr' 'freetype2' 'hicolor-icon-theme'
'cairo' 'gdk-pixbuf2' 'atk' 'pango' 'libxcomposite'
'libxfixes' 'libcups' 'libxrender'
'libxrandr' 'libxi' 'libxdamage' 'libxcursor')
optdepends=('clang-tools-extra'
'python-language-server'
'go-langserver-git'
'neovim')
source=('https://raw.githubusercontent.com/onivim/oni/master/LICENSE'
'16x16.png'
'32x32.png'
'64x64.png'
'128x128.png'
'256x256.png'
'512x512.png'
'oni.desktop')
source_x86_64=("https://github.com/onivim/oni/releases/download/v$_betaver/Oni-${_basicver}-x64-linux.tar.gz")
sha256sums=('a446f219aabe3667850444bbd5f11b7e931889b4d5dbf3bc074fe00f25f1124c'
'ed91d7b57f1b88bf5e40e40ca5f557dcd8c37eeea5be6c656ac222974dc30baa'
'1cc38f0b1243f301bcb3f8b265d9e0e6bb51eaf20bab546e8abe4eba8fcab4ff'
'f9ca30b9817889fea4e1b4bf631c06fe483db73fea844cf771d9b61b02f636a6'
'e01bc685dd7e85bf7bae144812c421e7209538da9f6871d38ee3383b93b864fc'
'396c174850dcabb2add952767fd35b860d5e368a75efba4576b8a0efdc8ea719'
'5465269347564615deae17f69e3b11307082f886086ea523d0c09c4661d3e1f2'
'72420b6c8588df601b973b715fc88f3d9e4d75ce53b633abff8c7ff848aed59a')
sha256sums_x86_64=('d25c4aed541198f5ca1e0e18d9c0ce9cf7e42c678bd7aad5a85538c866dbe443')
package() {
# Create path
install -dm755 $pkgdir/opt/$pkgname
install -dm755 $pkgdir/usr/bin
dir=$srcdir/Oni-${_basicver}-x64-linux
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
install -Dm644 oni.desktop $pkgdir/usr/share/applications/oni.desktop
cp -r $dir/* $pkgdir/opt/$pkgname
ln -s /opt/$pkgname/oni $pkgdir/usr/bin/oni
for i in 16x16 32x32 64x64 128x128 256x256 512x512; do
install -Dm644 $i.png $pkgdir/usr/share/icons/hicolor/$i/apps/oni.png
done
}
|