If you want to patch within the PKGBUILD then:
diff --git a/PKGBUILD b/PKGBUILD
index 471d1bf..deb563c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,15 @@ license=('GPL3')
depends=('gst-plugins-bad' 'libhandy' 'libsoup' 'gtk3')
makedepends=('cargo' 'git' 'gobject-introspection' 'gst-plugins-base-libs' 'libdazzle' 'meson' 'rust')
options=('!emptydirs')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/-/archive/${pkgver}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('b391b4d10658e9ba180442ca2d769173a278f19beb498c7251a6b4a62b7c678b')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/-/archive/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
+ handy.patch)
+sha256sums=('b391b4d10658e9ba180442ca2d769173a278f19beb498c7251a6b4a62b7c678b'
+ '1c51917028a5f5b6d201cefc9f7179fbe28be1309f3aa6cd14bd5654cd55ad3d')
+
+prepare() {
+ cd "${_pkgname}-${pkgver}"
+ patch -Np1 -i ../handy.patch
+}
build() {
cd "${_pkgname}-${pkgver}"
diff --git a/handy.patch b/handy.patch
new file mode 100644
index 0000000..da685cb
--- /dev/null
+++ b/handy.patch
@@ -0,0 +1,26 @@
+diff --git a/Cargo.lock b/Cargo.lock
+index 562ee21..da03a44 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -917,7 +917,7 @@ dependencies = [
+ [[package]]
+ name = "libhandy"
+ version = "0.5.0"
+-source = "git+https://gitlab.gnome.org/haecker-felix/libhandy-rs.git?branch=update_cargo_version#62e7abf44d419cf3fe83da64285f2905da4e333e"
++source = "git+https://gitlab.gnome.org/haecker-felix/libhandy-rs.git#62e7abf44d419cf3fe83da64285f2905da4e333e"
+ dependencies = [
+ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "gdk 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
+diff --git a/Cargo.toml b/Cargo.toml
+index d55d84a..b08e12f 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -42,7 +42,7 @@ gtk = { version = "0.8.0", features = ["v3_22"] }
+ gio = { version = "0.8.0", features = ["v2_46"] }
+ gdk-pixbuf = { version = "0.8.0", features = ["v2_36"] }
+ gettext-rs = { version = "0.4.4", features = ["gettext-system"] }
+-libhandy = { git="https://gitlab.gnome.org/haecker-felix/libhandy-rs.git", branch = "update_cargo_version", features = ["v0_0_12"] }
++libhandy = { git="https://gitlab.gnome.org/haecker-felix/libhandy-rs.git", features = ["v0_0_12"] }
+ gtk-macros = "0.2.0"
Pinned Comments