Package Details: gnome-obfuscate 0.0.10-1

Git Clone URL: https://aur.archlinux.org/gnome-obfuscate.git (read-only, click to copy)
Package Base: gnome-obfuscate
Description: Censor private information.
Upstream URL: https://gitlab.gnome.org/World/obfuscate
Licenses: GPL-3.0-or-later
Submitter: rafaelff
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 5
Popularity: 0.138996
First Submitted: 2021-07-17 13:32 (UTC)
Last Updated: 2024-03-24 17:20 (UTC)

Latest Comments

<deleted-account> commented on 2021-12-25 14:06 (UTC)

0.0.4 patch @rafaelff https://cdn.discordapp.com/attachments/915625208822505523/924301938978345020/0001-updated-to-0.0.4-now-use-release-tarballs.patch

From 4080d222b4f0e85dd4bbda46eeb196d2a1de5b05 Mon Sep 17 00:00:00 2001
From: th1nhhdk <therealthinhhdk@gmail.com>
Date: Sat, 25 Dec 2021 21:04:57 +0700
Subject: [PATCH 1/1] updated to 0.0.4, now use release tarballs

---
 PKGBUILD | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 9d9132d..b90b0a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,21 @@
 # Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
+# Contributor: th1nhhdk <th1nhhdk@tutanota.com>
+
 pkgname=gnome-obfuscate
-pkgver=0.0.3.r0.g002558e
-pkgrel=2
+pkgver=0.0.4
+pkgrel=1
 pkgdesc="Censor private information"
 arch=('x86_64')
 url="https://gitlab.gnome.org/World/obfuscate"
 license=('GPL3')
 depends=('libadwaita')
-makedepends=('git' 'meson' 'rust')
+makedepends=('meson' 'rust')
 checkdepends=('appstream-glib')
-_commit=002558e767696471d15a4916c49103b58c4f376b # tags/0.0.3
-source=("git+${url}.git#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-  cd obfuscate
-  git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
-}
+source=("https://gitlab.gnome.org/World/obfuscate/-/archive/$pkgver/obfuscate-$pkgver.tar.gz")
+sha256sums=('c6b0a5109abc54a285dbca1b97d0c22e5dd609962bc08caf6f9bb7c78746bd41')

 build() {
-  arch-meson obfuscate build
+  arch-meson obfuscate-$pkgver build
   meson compile -C build
 }

-- 
2.34.1

<deleted-account> commented on 2021-12-25 14:04 (UTC)

0.0.4 patch @rafaelff

From 10942e2e10f5c96c0aee373cf917cc5a781c23d5 Mon Sep 17 00:00:00 2001
From: th1nhhdk <therealthinhhdk@gmail.com>
Date: Sat, 25 Dec 2021 21:01:19 +0700
Subject: [PATCH 1/1] Updated to 0.0.4, PKGBUILD now use tarballs

---
 PKGBUILD | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 9d9132d..b7fdc91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,9 @@
 # Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
+# Contributor: th1nhhdk <th1nhhdk@tutanota.com>
+
 pkgname=gnome-obfuscate
-pkgver=0.0.3.r0.g002558e
-pkgrel=2
+pkgver=0.0.4
+pkgrel=1
 pkgdesc="Censor private information"
 arch=('x86_64')
 url="https://gitlab.gnome.org/World/obfuscate"
@@ -9,17 +11,11 @@ license=('GPL3')
 depends=('libadwaita')
 makedepends=('git' 'meson' 'rust')
 checkdepends=('appstream-glib')
-_commit=002558e767696471d15a4916c49103b58c4f376b # tags/0.0.3
-source=("git+${url}.git#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-  cd obfuscate
-  git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
-}
+source=("https://gitlab.gnome.org/World/obfuscate/-/archive/$pkgver/obfuscate-$pkgver.tar.gz")
+sha256sums=('c6b0a5109abc54a285dbca1b97d0c22e5dd609962bc08caf6f9bb7c78746bd41')

 build() {
-  arch-meson obfuscate build
+  arch-meson obfuscate-$pkgver build
   meson compile -C build
 }

-- 
2.34.1

rafaelff commented on 2021-07-23 00:19 (UTC)

@nilsw: actually, there isn't much difference, since in order for you to use the exact commit hash the checked out repository must be valid. Notice how several GNOME packages in official repositories use the same method, e.g. gnome-shell, gedit, gnome-desktop, and many others.

nilsw commented on 2021-07-19 07:49 (UTC) (edited on 2021-07-19 07:54 (UTC) by nilsw)

Cool, thanks for the submission!

I believe it is best practice for non -git packages to download the official release archive, and do a checksum comparison. Could you change the PKGBUILD to do that?

I can also provide you with the necessary changes if you want.