[arch-commits] Commit in deepin-api/trunk (PKGBUILD rfkill.patch)
Felix Yan
felixonmars at archlinux.org
Tue Nov 13 14:50:50 UTC 2018
Date: Tuesday, November 13, 2018 @ 14:50:49
Author: felixonmars
Revision: 406517
upgpkg: deepin-api 3.7.0-1
Modified:
deepin-api/trunk/PKGBUILD
Deleted:
deepin-api/trunk/rfkill.patch
--------------+
PKGBUILD | 14 +++++---------
rfkill.patch | 13 -------------
2 files changed, 5 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-13 14:47:44 UTC (rev 406516)
+++ PKGBUILD 2018-11-13 14:50:49 UTC (rev 406517)
@@ -3,8 +3,8 @@
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
pkgname=deepin-api
-pkgver=3.5.0
-pkgrel=2
+pkgver=3.7.0
+pkgrel=1
pkgdesc='Golang bindings for dde-daemon'
arch=('x86_64')
url="https://github.com/linuxdeepin/dde-api"
@@ -17,15 +17,11 @@
replaces=('dde-api')
groups=('deepin')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-api/archive/$pkgver.tar.gz"
- deepin-api.sysusers
- rfkill.patch)
-sha512sums=('44c0258dff39d5a5dce144bc477269e201e4f1a583776848278077afe118cce374c3e11681b51dfb3863415e42753b6901498f585038f5ef0d3a54849763fce6'
- '548b4c8d06a10f0103d84fe6b68532ca71aae53347a6ad85dad1d274844146c9861d1bf6ce8e5518ea1b043aa082d705c534f0a4c0feb16a031537cee6befb08'
- '61cf0c2b36e104d7a2c2564c60885c5c00654c633c2de920479491e76e50578cc12d63d8d3757a1db1606458ab0c57baabfc9f4cd4cdeaed532434a209752320')
+ deepin-api.sysusers)
+sha512sums=('f7c5e0a930345412280216b9deeeaa81aa88f1a55483ef5b814b3152f8d74cc1b7703b290e5c88cf6ad462a94cb7bd0117c2f68dc1f6a0a9dbfbb9b381cc6985'
+ '548b4c8d06a10f0103d84fe6b68532ca71aae53347a6ad85dad1d274844146c9861d1bf6ce8e5518ea1b043aa082d705c534f0a4c0feb16a031537cee6befb08')
prepare() {
- patch -d dde-api-$pkgver -p1 -i ../rfkill.patch
-
export GOPATH="$srcdir/build:/usr/share/gocode"
mkdir -p build/src/pkg.deepin.io/dde/api
cp -a dde-api-$pkgver/* build/src/pkg.deepin.io/dde/api/
Deleted: rfkill.patch
===================================================================
--- rfkill.patch 2018-11-13 14:47:44 UTC (rev 406516)
+++ rfkill.patch 2018-11-13 14:50:49 UTC (rev 406517)
@@ -1,13 +0,0 @@
-diff --git a/device/device.go b/device/device.go
-index 504b194..2b25db1 100644
---- a/device/device.go
-+++ b/device/device.go
-@@ -117,7 +117,7 @@ func checkAuthorization(actionId string, pid uint32) (bool, error) {
- }
-
- type rfkillItem struct {
-- Id string `json:"id"`
-+ Id int `json:"id"`
- Type string `json:"type"`
- Device string `json:"device"`
- Soft string `json:"soft"`
More information about the arch-commits
mailing list