[arch-commits] Commit in vimb/repos (3 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun Mar 6 16:06:42 UTC 2022
Date: Sunday, March 6, 2022 @ 16:06:41
Author: foutrelis
Revision: 1142715
archrelease: copy trunk to community-staging-x86_64
Added:
vimb/repos/community-staging-x86_64/
vimb/repos/community-staging-x86_64/PKGBUILD
(from rev 1142714, vimb/trunk/PKGBUILD)
vimb/repos/community-staging-x86_64/vimb-ldflags.patch
(from rev 1142714, vimb/trunk/vimb-ldflags.patch)
--------------------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
vimb-ldflags.patch | 12 ++++++++++++
2 files changed, 54 insertions(+)
Copied: vimb/repos/community-staging-x86_64/PKGBUILD (from rev 1142714, vimb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-03-06 16:06:41 UTC (rev 1142715)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Robert Timm <mail at rtti.de>
+# Contributor: Jason Ryan <jasonwryan at gmail.com>
+# Contributor: Daniel M. Capella <polyzen at archlinux.info>
+
+pkgname=vimb
+pkgver=3.6.0
+pkgrel=2
+pkgdesc='The vim like browser'
+arch=(x86_64)
+url=https://fanglingsu.github.io/vimb/
+license=(GPL3)
+depends=(webkit2gtk)
+makedepends=(git)
+source=(
+ git+https://github.com/fanglingsu/vimb.git#tag=6b73a6fc16f1a01d246f4bf5732aea01fc7727bb
+ vimb-ldflags.patch
+)
+sha256sums=('SKIP'
+ 'daf758d2f0cf20c24c432ec4297cc45fb52dbee839726ffb57936c5a20ff5aa9')
+
+pkgver() {
+ cd vimb
+
+ git describe --tags
+}
+
+prepare() {
+ cd vimb
+
+ patch -Np1 -i ../vimb-ldflags.patch
+}
+
+build() {
+ make PREFIX=/usr -C vimb
+}
+
+package() {
+ make DESTDIR="${pkgdir}" PREFIX=/usr -C vimb install
+}
+
+# vim: ts=2 sw=2 et:
Copied: vimb/repos/community-staging-x86_64/vimb-ldflags.patch (from rev 1142714, vimb/trunk/vimb-ldflags.patch)
===================================================================
--- community-staging-x86_64/vimb-ldflags.patch (rev 0)
+++ community-staging-x86_64/vimb-ldflags.patch 2022-03-06 16:06:41 UTC (rev 1142715)
@@ -0,0 +1,12 @@
+diff -rupN vimb.orig/config.mk vimb/config.mk
+--- vimb.orig/config.mk 2019-07-23 11:18:15.460717705 +0200
++++ vimb/config.mk 2019-07-23 11:19:04.091175665 +0200
+@@ -36,7 +36,7 @@ endif
+ EXTTARGET = webext_main.so
+ EXTCFLAGS = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.0)
+ EXTCPPFLAGS = $(CPPFLAGS)
+-EXTLDFLAGS = $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared
++EXTLDFLAGS = $(LDFLAGS) $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared
+
+ # flags used for the main application
+ CFLAGS += $(shell pkg-config --cflags $(LIBS))
More information about the arch-commits
mailing list