Skip to content

Add Hashes-git #4339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions archlinuxcn/hashes-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#Maintainer: mumi jim <echo "=02bj5yav9Gb0V3bA1Waq9VatVXb" | rev | base64 -d>

pkgname="hashes-git"
_appname="hashes"
pkgver=1.1.2.r0.ge1b3a8b
pkgrel=1
pkgdesc='Simple hash algorithm identification GUI using GTK4+Adwaita'
url='https://github.com/zefr0x/hashes'
arch=('aarch64' 'x86_64')
license=('GPL-3.0-or-later')
depends=('gtk4' 'libadwaita' 'python-name-that-hash')
source=("git+${url}.git")
sha512sums=('SKIP')

pkgver() {
cd "${_appname}/"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
cd "${_appname}/"
arch-meson . build
meson compile -C build
}

package() {
cd "${_appname}/"
meson install -C build --destdir "$pkgdir"
}
17 changes: 17 additions & 0 deletions archlinuxcn/hashes-git/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
maintainers:
- github: Giteeajake
email: [email protected]
- github: Integral-Tech
email: [email protected]

pre_build_script: |
update_pkgrel()
vcs_update()

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()

update_on:
- source: github
github: zefr0x/hashes