[arch-commits] Commit in neovide/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon Aug 15 12:21:24 UTC 2022
Date: Monday, August 15, 2022 @ 12:21:24
Author: alerque
Revision: 1266117
archrelease: copy trunk to community-x86_64
Added:
neovide/repos/community-x86_64/PKGBUILD
(from rev 1266116, neovide/trunk/PKGBUILD)
Deleted:
neovide/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 48 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-15 12:21:16 UTC (rev 1266116)
+++ PKGBUILD 2022-08-15 12:21:24 UTC (rev 1266117)
@@ -1,52 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: peeweep <peeweep at 0x0 dot ee>
-
-pkgname=neovide
-pkgver=0.10.0
-pkgrel=1
-pkgdesc='No Nonsense Neovim Client in Rust'
-arch=(x86_64)
-url="https://github.com/$pkgname/$pkgname"
-license=(MIT)
-depends=(fontconfig
- freetype2
- libglvnd
- neovim
- sndio)
-makedepends=(cargo
- cmake
- gtk3
- make
- python
- sdl2)
-optdepends=('vulkan-intel: vulkan support for intel')
-_archive=("$pkgname-$pkgver")
-source=("$url/archive/$pkgver/$_archive.tar.gz")
-sha256sums=('b252d2fd6ca6acc0cefdc522f9400076ec80203a9429aa38289fe1a4520abe64')
-
-prepare() {
- cd "$_archive"
- sed -i \
- -e '/^incremental/a opt-level = 3' \
- Cargo.toml
- # v0.10.0 lockfile out of date, https://github.com/neovide/neovide/issues/1482
- cargo update
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd "$_archive"
- CFLAGS+=' -ffat-lto-objects'
- cargo build --frozen --release --all-features
-}
-
-package() {
- cd "$_archive"
- install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
- install -Dm0644 -t "$pkgdir/usr/share/applications/" "assets/$pkgname.desktop"
- for px in 16 32 48 256; do
- install -Dm0644 "assets/$pkgname-${px}x${px}.png" \
- "$pkgdir/usr/share/icons/hicolor/${px}x${px}/apps/$pkgname.png"
- done
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: neovide/repos/community-x86_64/PKGBUILD (from rev 1266116, neovide/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-15 12:21:24 UTC (rev 1266117)
@@ -0,0 +1,48 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: peeweep <peeweep at 0x0 dot ee>
+
+pkgname=neovide
+pkgver=0.10.1
+pkgrel=1
+pkgdesc='No Nonsense Neovim Client in Rust'
+arch=(x86_64)
+url="https://github.com/$pkgname/$pkgname"
+license=(MIT)
+depends=(fontconfig
+ freetype2
+ libglvnd
+ neovim
+ sndio)
+makedepends=(cargo
+ cmake
+ gtk3
+ make
+ python
+ sdl2)
+optdepends=('vulkan-intel: vulkan support for intel')
+_archive=("$pkgname-$pkgver")
+source=("$url/archive/$pkgver/$_archive.tar.gz")
+sha256sums=('f3b21b3203ba1ef81bb05447dbd3792c37a7f3d171f3e36202fa3495d3be9361')
+
+prepare() {
+ cd "$_archive"
+ sed -i -e '/^incremental/a opt-level = 3' Cargo.toml
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$_archive"
+ CFLAGS+=' -ffat-lto-objects'
+ cargo build --frozen --release --all-features
+}
+
+package() {
+ cd "$_archive"
+ install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
+ install -Dm0644 -t "$pkgdir/usr/share/applications/" "assets/$pkgname.desktop"
+ for px in 16 32 48 256; do
+ install -Dm0644 "assets/$pkgname-${px}x${px}.png" \
+ "$pkgdir/usr/share/icons/hicolor/${px}x${px}/apps/$pkgname.png"
+ done
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
More information about the arch-commits
mailing list