diff options
author | justforlxz | 2022-03-20 00:56:08 +0800 |
---|---|---|
committer | justforlxz | 2022-03-20 00:56:08 +0800 |
commit | 3bc0ea7ac28925007d67be3d4a61f067ad8c692f (patch) | |
tree | e7855509df7680f5b6b9fb647132c6596063aedc | |
parent | d394f8d50980517051a355007615e135e6b1e245 (diff) | |
download | aur-3bc0ea7ac28925007d67be3d4a61f067ad8c692f.tar.gz |
update
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 5 deletions
@@ -1,10 +1,11 @@ pkgbase = deepin-api-git pkgdesc = Golang bindings for dde-daemon - pkgver = 5.5.5.r19.g1253eb6 + pkgver = 5.5.9.r8.g916f644 pkgrel = 1 url = https://github.com/linuxdeepin/dde-api install = deepin-api.install arch = x86_64 + arch = aarch64 groups = deepin-git license = GPL3 makedepends = git @@ -32,7 +33,7 @@ pkgbase = deepin-api-git depends = blur-effect provides = deepin-api conflicts = deepin-api - source = deepin-api-git::git://github.com/linuxdeepin/dde-api/ + source = deepin-api-git::git+https://github.com/linuxdeepin/dde-api/ source = deepin-api.sysusers sha512sums = SKIP sha512sums = e894eb3928af9e244fa78010fdf16c8abb6ce18df114cf05327d02b18774d6ba5b023e4dfa0d07042f4e44a5c6e2ddb55b07f3e0db466a0e6169b52465fdefd6 @@ -1,10 +1,10 @@ # Maintainer: justforlxz <justforlxz@gmail.com> pkgname=deepin-api-git -pkgver=5.5.5.r19.g1253eb6 +pkgver=5.5.9.r8.g916f644 pkgrel=1 pkgdesc='Golang bindings for dde-daemon' -arch=('x86_64') +arch=('x86_64' 'aarch64') url="https://github.com/linuxdeepin/dde-api" license=('GPL3') # alsa-utils: alsactl used in sound-theme-player @@ -21,7 +21,7 @@ provides=('deepin-api') conflicts=('deepin-api') groups=('deepin-git') install=deepin-api.install -source=("$pkgname::git://github.com/linuxdeepin/dde-api/" +source=("$pkgname::git+https://github.com/linuxdeepin/dde-api/" deepin-api.sysusers) sha512sums=('SKIP' 'e894eb3928af9e244fa78010fdf16c8abb6ce18df114cf05327d02b18774d6ba5b023e4dfa0d07042f4e44a5c6e2ddb55b07f3e0db466a0e6169b52465fdefd6') @@ -32,6 +32,13 @@ pkgver() { } prepare() { + cd $pkgname + if [[ ! -z ${sha} ]];then + git checkout -b $sha + fi +} + +prepare() { cd $srcdir export GOPATH="$srcdir/build:/usr/share/gocode" export GO111MODULE=off |