From 92d71cbdbc8af2193ccccf66d9a87762a0e375a7 Mon Sep 17 00:00:00 2001 From: Hollow Man Date: Fri, 23 Apr 2021 13:42:32 +0800 Subject: [PATCH] Add commit id to PKGBUILD Signed-off-by: Hollow Man --- .SRCINFO | 2 +- PKGBUILD | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index d94f17c..7350c76 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -8,7 +8,7 @@ pkgbase = gnome-shell-extension-customize-ibus license = GPLv3 depends = gnome-shell>=40, depends = gnome-tweaks - source = https://github.com/HollowMan6/Customize-IBus/archive/v20.tar.gz + source = https://github.com/HollowMan6/Customize-IBus/archive/3d2ad17554d97a0e39147728368fe3cceddc5f86/Customize-IBus-3d2ad17554d97a0e39147728368fe3cceddc5f86.tar.gz sha512sums = SKIP pkgname = gnome-shell-extension-customize-ibus diff --git a/PKGBUILD b/PKGBUILD index 0ec2433..80bdd98 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,6 +3,7 @@ pkgname=gnome-shell-extension-customize-ibus _pkgname=Customize-IBus +_commit=3d2ad17554d97a0e39147728368fe3cceddc5f86 pkgver=20 pkgrel=1 epoch=0 @@ -11,12 +12,12 @@ arch=('any') url="https://extensions.gnome.org/extension/4112/customize-ibus/" license=('GPLv3') depends=('gnome-shell>=40', 'gnome-tweaks') -source=("https://github.com/HollowMan6/Customize-IBus/archive/v${pkgver}.tar.gz") +source=("https://github.com/HollowMan6/Customize-IBus/archive/${_commit}/${_pkgname}-${_commit}.tar.gz") sha512sums=('SKIP') package() { _uuid='customize-ibus@hollowman.ml' _install_dir="${pkgdir}/usr/share/gnome-shell/extensions" - cd ${_pkgname}-${pkgver} + cd ${_pkgname}-${_commit} make _build VERSION=${pkgver} mkdir -p $_install_dir mv _build ${_install_dir}/${_uuid}