[arch-commits] Commit in deepin-pw-check/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Sep 2 07:31:19 UTC 2022
Date: Friday, September 2, 2022 @ 07:31:19
Author: felixonmars
Revision: 1290594
upgpkg: deepin-pw-check 5.1.16-1
Modified:
deepin-pw-check/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-02 07:31:08 UTC (rev 1290593)
+++ PKGBUILD 2022-09-02 07:31:19 UTC (rev 1290594)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=deepin-pw-check
-pkgver=5.1.8
+pkgver=5.1.16
pkgrel=1
pkgdesc='Tool to verify the validity of the password'
arch=('x86_64')
@@ -8,20 +8,23 @@
url="https://github.com/linuxdeepin/deepin-pw-check"
license=('GPL3')
depends=('cracklib' 'gtk3' 'iniparser')
-makedepends=('deepin-gettext-tools' 'git' 'go' 'golang-deepin-lib' 'golang-github-linuxdeepin-go-dbus-factory')
+makedepends=('deepin-gettext-tools' 'git' 'go' 'golang-deepin-lib' 'golang-github-fsnotify-fsnotify'
+ 'golang-github-linuxdeepin-go-dbus-factory' 'golang-github-stretchr-testify'
+ 'golang-gopkg-yaml.v3')
groups=('deepin')
source=("https://github.com/linuxdeepin/deepin-pw-check/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('619a4b6397f8a422b8bee734e0c4d4113f289e4cb1988756f9009bd253810f293cb2e4f6bdc75c7607a1243217900629b35e343e70d817674a38707e27059659')
+sha512sums=('db59b3ab8d6f8971342bd906a6f67f421db5dc2c5846b314698012831e22daaecfbb0fe595b47fd856bd523375d93a2001dcaa096d518e65c55fdcb982f960a7')
export GO111MODULE=off
prepare() {
export GOPATH="$srcdir/build:/usr/share/gocode"
- go get github.com/godbus/dbus github.com/fsnotify/fsnotify gopkg.in/yaml.v3
+ go get github.com/godbus/dbus
cd deepin-pw-check-$pkgver
sed -i 's|iniparser/||' */*.c
sed -i 's|gcc |gcc ${CFLAGS} ${LDFLAGS} |' Makefile
+ sed -i 's|sprintf(outbuf, err_to_string|sprintf(outbuf, "%s", err_to_string|' pam/pam.c
}
build() {
More information about the arch-commits
mailing list