* update vimb to 3.7.0-1

This commit is contained in:
Alexander Baldeck 2023-07-17 21:32:04 +02:00
parent 8e247828d2
commit f6612fe480
2 changed files with 7 additions and 29 deletions

View File

@ -5,33 +5,23 @@
# Contributor: Daniel M. Capella <polyzen@archlinux.info>
pkgname=vimb
pkgver=3.6.0
pkgrel=2
pkgver=3.7.0
pkgrel=1
pkgdesc='The vim like browser'
arch=(x86_64 powerpc64le powerpc)
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url=https://fanglingsu.github.io/vimb/
license=(GPL3)
depends=(webkit2gtk)
depends=(webkit2gtk-4.1)
makedepends=(git)
source=(
git+https://github.com/fanglingsu/vimb.git#tag=6b73a6fc16f1a01d246f4bf5732aea01fc7727bb
vimb-ldflags.patch
)
sha256sums=('SKIP'
'daf758d2f0cf20c24c432ec4297cc45fb52dbee839726ffb57936c5a20ff5aa9')
_tag=7864d001d29a04cf9526f1f6714516a8923755e7
source=(git+https://github.com/fanglingsu/vimb.git#tag=${_tag})
b2sums=('SKIP')
pkgver() {
cd vimb
git describe --tags
}
prepare() {
cd vimb
patch -Np1 -i ../vimb-ldflags.patch
}
build() {
make PREFIX=/usr -C vimb
}

View File

@ -1,12 +0,0 @@
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))