summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Johnson2019-09-04 20:54:40 -0400
committerJared Johnson2019-09-04 20:54:40 -0400
commit03846f3abd3ec3ec5e78e1cf1421395530d94816 (patch)
tree6c0b4c1ca37bd061525cee1419c77f20cfee4d21
downloadaur-03846f3abd3ec3ec5e78e1cf1421395530d94816.tar.gz
v0.2_88_g17b59dd
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD46
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5a95f3a11a1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = fvim
+ pkgdesc = Cross platform Neovim front-end UI, built with F# + Avalonia
+ pkgver = 0.2_88_g17b59dd
+ pkgrel = 1
+ url = https://github.com/yatli/fvim
+ arch = any
+ license = MIT
+ makedepends = dotnet-sdk-preview
+ depends = neovim
+ depends = ttf-dejavu
+ provides = fvim
+ conflicts = fvim
+ options = staticlibs
+ source = https://github.com/yatli/fvim/archive/v0.2-88-g17b59dd.tar.gz
+ md5sums = SKIP
+
+pkgname = fvim
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6c46c9421dc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Jared Johnson <jaredj@gmx.com>
+pkgname=fvim
+pkgver=0.2_88_g17b59dd
+pkgrel=1
+pkgdesc="Cross platform Neovim front-end UI, built with F# + Avalonia"
+arch=('any')
+url="https://github.com/yatli/fvim"
+license=('MIT')
+groups=()
+depends=('neovim' 'ttf-dejavu')
+makedepends=('dotnet-sdk-preview')
+optdepends=()
+provides=('fvim')
+conflicts=('fvim')
+source=("https://github.com/yatli/fvim/archive/v0.2-88-g17b59dd.tar.gz")
+md5sums=('SKIP')
+options=('staticlibs')
+
+build() {
+ cd $(echo "${srcdir}/${pkgname}-${pkgver}" | sed -e "s/_/-/g")
+ mkdir ${srcdir}/build
+ dotnet publish \
+ -f netcoreapp3.0 \
+ -c Release \
+ -r linux-x64 \
+ --self-contained true \
+ -o ${srcdir}/build
+}
+
+package() {
+ cd $(echo "${srcdir}/${pkgname}-${pkgver}" | sed -e "s/_/-/g")
+
+ install -dm755 "${pkgdir}/usr/bin"
+ install -dm755 "${pkgdir}/usr/share/${pkgname}"
+ install -dm755 "${pkgdir}/usr/share/applications"
+ install -dm755 "${pkgdir}/usr/share/icons/hicolor/48x48/apps"
+
+ install -m755 lib/fvim-linux-launcher "${pkgdir}/usr/bin/fvim"
+ install Assets/fvim.png "${pkgdir}/usr/share/icons/hicolor/48x48/apps/fvim.png"
+ install lib/fvim.desktop "${pkgdir}/usr/share/applications/fvim.desktop"
+ cp -R ${srcdir}/build/* "${pkgdir}/usr/share/fvim"
+ chmod -R 755 ${pkgdir}/usr/share/fvim
+ chmod 744 ${pkgdir}/usr/share/fvim/*.dll
+ chmod 744 ${pkgdir}/usr/share/fvim/*.so
+ chmod 644 ${pkgdir}/usr/share/fvim/FVim.*
+}