aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/Staplerfile2
-rw-r--r--go/Staplerfile2
-rw-r--r--nvim/Staplerfile39
-rw-r--r--openide-bin/Staplerfile4
-rw-r--r--protoc/Staplerfile2
-rw-r--r--recutils/Staplerfile2
6 files changed, 25 insertions, 26 deletions
diff --git a/emacs/Staplerfile b/emacs/Staplerfile
index 4d923dc..e3a69eb 100644
--- a/emacs/Staplerfile
+++ b/emacs/Staplerfile
@@ -6,7 +6,7 @@ desc="The GNU Emacs are extensible, customizable, self-documenting real-time dis
maintainer="Alexander NeonXP Kiryukhin <i@neonxp.ru>"
architectures=("amd64")
license="GPL-3.0-only"
-sources=("http://gnu.neonxp.ru/emacs/emacs-$version.tar.xz")
+sources=("https://mirror.yandex.ru/mirrors/gnu/emacs/emacs-$version.tar.xz")
checksums=("sha256:b3f36f18a6dd2715713370166257de2fae01f9d38cfe878ced9b1e6ded5befd9")
disable_network=1
diff --git a/go/Staplerfile b/go/Staplerfile
index f5a0d72..1048c54 100644
--- a/go/Staplerfile
+++ b/go/Staplerfile
@@ -1,5 +1,5 @@
name="go"
-version="1.26.0"
+version="1.26.1"
release=1
summary="Go programming language"
desc="Go is an open source programming language that makes it easy to build simple, reliable, and efficient software."
diff --git a/nvim/Staplerfile b/nvim/Staplerfile
index d4eaa6a..2129d6d 100644
--- a/nvim/Staplerfile
+++ b/nvim/Staplerfile
@@ -21,8 +21,6 @@ deps=(
'libluv'
'libutf8proc3'
'libuv'
- 'lua5.1-module-lpeg'
- 'libluajit'
'libmsgpack-c'
'tree-sitter-c'
'tree-sitter-lua'
@@ -44,7 +42,6 @@ build_deps=(
'libluv-devel'
'libutf8proc-devel'
'libuv-devel'
- 'libluajit-devel'
'libmsgpack-c-devel'
'libtree-sitter-devel'
'unibilium-devel'
@@ -54,33 +51,35 @@ build_deps=(
build() {
cd neovim-$version
- make CMAKE_BUILD_TYPE=Release
- make CMAKE_INSTALL_PREFIX=$srcdir/dist install
+ mkdir -p build
+ cd build
+ cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF
+ ninja
}
package() {
- for i in nvim; do
- install-binary $srcdir/dist/bin/$i
- done;
+ # Install binaries from build directory
+ install-binary $srcdir/neovim-$version/build/bin/nvim
+ # Install man pages
for i in nvim.1; do
- install-manual $srcdir/dist/share/man/man1/$i
+ install-manual $srcdir/neovim-$version/build/runtime/doc/$i
done;
- for i in c.so lua.so markdown_inline.so markdown.so query.so vimdoc.so vim.so; do
- install-library $srcdir/dist/lib64/nvim/parser/$i nvim/parser/$i
- done;
-
- for i in nvim.desktop; do
- install-desktop $srcdir/dist/share/applications/$i
+ # Install tree-sitter parsers
+ for i in c.so lua.so markdown_inline.so markdown.so query.so vimdoc.so vim.so; do
+ install-library $srcdir/neovim-$version/build/runtime/parser/$i nvim/parser/$i
done;
- install-pixmap $srcdir/dist/share/icons/hicolor/128x128/apps/nvim.png
+ # Install desktop entry
+ install-desktop $srcdir/neovim-$version/build/runtime/nvim.desktop
+
+ # Install icon
+ install-pixmap $srcdir/neovim-$version/build/runtime/nvim.png
- # Too many files for manual install
- # TODO use `install`
- mkdir -p "$pkgdir/usr/share/nvim"
- cp -r "$srcdir/dist/share/nvim" "$pkgdir/usr/share/nvim"
+ # Install runtime files (install to correct location)
+ mkdir -p "$pkgdir/usr/share/nvim"
+ cp -r "$srcdir/neovim-$version/build/runtime/nvim" "$pkgdir/usr/share/nvim"
}
files() {
diff --git a/openide-bin/Staplerfile b/openide-bin/Staplerfile
index 0b8c8f9..95f15c3 100644
--- a/openide-bin/Staplerfile
+++ b/openide-bin/Staplerfile
@@ -1,5 +1,5 @@
name="openide-bin"
-version="253.28294.334.2"
+version="253.28294.334.8"
release=1
summary="OpenIDE открытая среда разработки для профессионалов"
desc="penIDE — бесплатная лицензионно чистая IDE на базе IntelliJ IDEA Platform с открытым исходным кодом. Вся инфраструктура для сборки и работы OpenIDE расположена в России. Для отправки статистики, поиска обновлений, подключения плагинов и т.д. среда разработки обращается только к серверам на территории РФ. В маркетплейсе OpenIDE с самого первого дня доступно более 300 плагинов."
@@ -24,7 +24,7 @@ package() {
install -d $pkgdir/usr/bin
cd openide
cp -aR bin lib jbr plugins license LICENSE.txt build.txt product-info.json "$pkgdir/opt/openide/"
-
+
install-license LICENSE.txt openide/LICENSE.txt
ln -s "/opt/openide/bin/openide.sh" "$pkgdir/usr/bin/openide"
diff --git a/protoc/Staplerfile b/protoc/Staplerfile
index c404ec0..db6f561 100644
--- a/protoc/Staplerfile
+++ b/protoc/Staplerfile
@@ -1,5 +1,5 @@
name="protoc"
-version="33.5"
+version="34.1"
release=1
summary="Protocol Buffers - Google's data interchange format"
diff --git a/recutils/Staplerfile b/recutils/Staplerfile
index f0b1624..33d8f87 100644
--- a/recutils/Staplerfile
+++ b/recutils/Staplerfile
@@ -6,7 +6,7 @@ desc="The GNU recutils are a set of libraries and utilities supporting the Rec f
maintainer="Alexander NeonXP Kiryukhin <i@neonxp.ru>"
architectures=("amd64")
license="GPL-3.0-only"
-sources=("http://gnu.neonxp.ru/recutils/recutils-$version.tar.gz")
+sources=("https://mirror.yandex.ru/mirrors/gnu/recutils/recutils-$version.tar.gz")
checksums=("sha256:6301592b0020c14b456757ef5d434d49f6027b8e5f3a499d13362f205c486e0e")
disable_network=1