Skip to content

Commit

Permalink
Add commit id to PKGBUILD
Browse files Browse the repository at this point in the history
Signed-off-by: Hollow Man <[email protected]>
  • Loading branch information
HollowMan6 committed Apr 23, 2021
1 parent 4324f5f commit 92d71cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

pkgname=gnome-shell-extension-customize-ibus
_pkgname=Customize-IBus
_commit=3d2ad17554d97a0e39147728368fe3cceddc5f86
pkgver=20
pkgrel=1
epoch=0
Expand All @@ -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='[email protected]'
_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}
Expand Down

0 comments on commit 92d71cb

Please sign in to comment.