summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustforlxz2022-03-20 01:25:22 +0800
committerjustforlxz2022-03-20 01:25:22 +0800
commit7f30ac51cc9e838f840fd4491a9c2b09e0494fab (patch)
treeaaaa1c10981e0092bd57957702f9d833015c98cc
parent5fe794d86f9da7670bf14c20e8764e2068730d3c (diff)
downloadaur-7f30ac51cc9e838f840fd4491a9c2b09e0494fab.tar.gz
update
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2330a786b4cd..9dbd9e4f85ea 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,7 +20,7 @@ pkgbase = golang-github-linuxdeepin-go-x11-client-git
depends = golang-golang-x-text
provides = golang-github-linuxdeepin-go-x11-client
conflicts = golang-github-linuxdeepin-go-x11-client
- source = golang-github-linuxdeepin-go-x11-client-git::git://github.com/linuxdeepin/go-x11-client
+ source = golang-github-linuxdeepin-go-x11-client-git::git+https://github.com/linuxdeepin/go-x11-client
sha512sums = SKIP
pkgname = golang-github-linuxdeepin-go-x11-client-git
diff --git a/PKGBUILD b/PKGBUILD
index 14f6e82b5df1..a11d1f7e7cae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ groups=('deepin-git')
depends=('golang-golang-x-text')
makedepends=('git' 'go' 'xorg-server-xvfb' 'golang-github-stretchr-testify' 'golang-gopkg-check.v1' 'golang-gopkg-yaml.v2')
checkdepends=('xorg-server-xvfb' 'golang-github-stretchr-testify' 'golang-gopkg-check.v1' 'golang-gopkg-yaml.v2' 'git')
-source=("$pkgname::git://github.com/linuxdeepin/go-x11-client")
+source=("$pkgname::git+https://github.com/linuxdeepin/go-x11-client")
sha512sums=('SKIP')
pkgver() {
@@ -23,6 +23,9 @@ pkgver() {
prepare() {
cd $pkgname
+ if [[ ! -z ${sha} ]];then
+ git checkout -b $sha
+ fi
rm -rf tools
}