blob: 5610568c22edbe523bbdbbe7629082b97554ea16 (
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
|
# Maintainer: Ethan McTague <ethan@tague.me>
#
# Based off of the `oni` package, which is maintained by:
# - Amadeus Folego <amadeusfolego@gmail.com>
# - Terje Larsen <terlar@gmail.com>
pkgname=oni-git
pkgver=0.0.0
pkgrel=1
pkgdesc='An IDE built around Neovim - Master Branch'
arch=(x86_64)
url="https://github.com/onivim/oni"
license=('MIT')
depends=('neovim' 'nodejs' 'gconf' 'libxss')
makedepends=('tar')
source=("https://github.com/onivim/oni/archive/master.tar.gz"
"oni.sh"
"oni.desktop"
"icons.tar.gz")
package() {
install -d ${pkgdir}/opt/${pkgname}
cp -R ${srcdir}/oni-master/* ${pkgdir}/opt/${pkgname}
install -Dm755 $srcdir/${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}
install -Dm644 oni.desktop "$pkgdir/usr/share/applications/oni.desktop"
tar -xf ${srcdir}/icons.tar.gz
for i in 16x16 32x32 64x64 128x128 256x256 512x512 1024x1024; do
install -Dm644 ${srcdir}/icons/$i.png "${pkgdir}/usr/share/icons/hicolor/$i/apps/oni.png"
done
}
# vim:set ts=2 sw=2 et:
|