[arch-commits] Commit in neovide/repos/community-x86_64 (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Mon Aug 15 12:03:07 UTC 2022


    Date: Monday, August 15, 2022 @ 12:03:07
  Author: alerque
Revision: 1266115

archrelease: copy trunk to community-x86_64

Added:
  neovide/repos/community-x86_64/PKGBUILD
    (from rev 1266114, neovide/trunk/PKGBUILD)
Deleted:
  neovide/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-15 12:02:59 UTC (rev 1266114)
+++ PKGBUILD	2022-08-15 12:03:07 UTC (rev 1266115)
@@ -1,51 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: peeweep <peeweep at 0x0 dot ee>
-
-pkgname=neovide
-pkgver=0.9.0
-pkgrel=3
-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=('8206cbfbb9ece987a24051e0c834c205663d3263c7aa40ae0e5bcc0aba2e61cc')
-
-prepare() {
-	cd "$_archive"
-	sed -i \
-		-e '/^debug/s/true/false/' \
-		-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
-}

Copied: neovide/repos/community-x86_64/PKGBUILD (from rev 1266114, neovide/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-15 12:03:07 UTC (rev 1266115)
@@ -0,0 +1,52 @@
+# 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
+}



More information about the arch-commits mailing list