diff options
author | justforlxz | 2022-03-20 01:11:11 +0800 |
---|---|---|
committer | justforlxz | 2022-03-20 01:11:11 +0800 |
commit | a17a1757b71dc6d4ab504a30940637ec74adfb6a (patch) | |
tree | 3ee287cbd299cba7257e7cae22373a95fb760ce4 | |
parent | f5811b206647c59c52d135abefadd74ab7c8a24e (diff) | |
download | aur-a17a1757b71dc6d4ab504a30940637ec74adfb6a.tar.gz |
update
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 6 deletions
@@ -1,9 +1,10 @@ pkgbase = deepin-pw-check-git pkgdesc = deepin-pw-check is a tool to verify the validity of the password - pkgver = 5.1.6.r5.g10c0e2f + pkgver = 5.1.6.r12.gd8c5518 pkgrel = 1 url = https://github.com/linuxdeepin/deepin-pw-check arch = x86_64 + arch = aarch64 groups = deepin-git license = GPL3 makedepends = git @@ -15,7 +16,7 @@ pkgbase = deepin-pw-check-git depends = pam provides = deepin-pw-check conflicts = deepin-pw-check - source = deepin-pw-check-git::git://github.com/linuxdeepin/deepin-pw-check + source = deepin-pw-check-git::git+https://github.com/linuxdeepin/deepin-pw-check sha512sums = SKIP pkgname = deepin-pw-check-git @@ -1,10 +1,10 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=deepin-pw-check-git -pkgver=5.1.6.r5.g10c0e2f +pkgver=5.1.6.r12.gd8c5518 pkgrel=1 pkgdesc='deepin-pw-check is a tool to verify the validity of the password' -arch=('x86_64') +arch=('x86_64' 'aarch64') url="https://github.com/linuxdeepin/deepin-pw-check" license=('GPL3') depends=('cracklib' 'iniparser' 'pam') @@ -12,7 +12,7 @@ makedepends=('git' 'go' 'golang-github-linuxdeepin-go-dbus-factory-git' 'deepin- groups=('deepin-git') provides=('deepin-pw-check') conflicts=('deepin-pw-check') -source=("$pkgname::git://github.com/linuxdeepin/deepin-pw-check") +source=("$pkgname::git+https://github.com/linuxdeepin/deepin-pw-check") sha512sums=('SKIP') pkgver() { @@ -21,7 +21,11 @@ pkgver() { } prepare() { - cd $pkgname + cd $pkgname + if [[ ! -z ${sha} ]];then + git checkout -b $sha + fi + export GOPATH="$srcdir/build:/usr/share/gocode" export GO111MODULE=off go get -v github.com/godbus/dbus |