[arch-commits] Commit in deepin-daemon/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jun 30 10:40:10 UTC 2020


    Date: Tuesday, June 30, 2020 @ 10:40:10
  Author: felixonmars
Revision: 657149

upgpkg: deepin-daemon 5.11.0.12-2

Modified:
  deepin-daemon/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-30 10:38:52 UTC (rev 657148)
+++ PKGBUILD	2020-06-30 10:40:10 UTC (rev 657149)
@@ -4,8 +4,7 @@
 
 pkgname=deepin-daemon
 pkgver=5.11.0.12
-_commit=ef624af738432561de2eee90a531394e38a670d9
-pkgrel=1
+pkgrel=2
 pkgdesc='Daemon handling the DDE session settings'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/dde-daemon"
@@ -25,16 +24,16 @@
 conflicts=('dde-daemon')
 replaces=('dde-daemon')
 groups=('deepin')
-install="${pkgname}.install"
-source=("$pkgname-$_commit.tar.gz::https://github.com/linuxdeepin/dde-daemon/archive/$_commit.tar.gz"
+install="$pkgname.install"
+source=("https://github.com/linuxdeepin/dde-daemon/archive/$pkgver/$pkgname-$pkgver.tar.gz"
         dde-daemon_5.9.4.2.diff
         'deepin-daemon.sysusers')
-sha512sums=('6318c0056ad54c4531f004ba3356505c49e9d287a0fd19b9defa6d952e7ae61f18fa5d8f9d6123ead094c6d7a9ae9fa5718857710a497b070f4aac99e418ce1f'
+sha512sums=('b05ffa55442f84567c0c0ea9dadf812a5352c205beb0c1571758e26365fc02b5bea080b6f082ddfa8397ffc32a820b1c78681fa238521ae1f8855724e7bd0caa'
             '188bb74fc4deddd2d9cbc210ec487b45664178524294d9a98e47cd4c8a70e369fd3441697bc50b696a975cfbbbfa16666d1798b1ae25469abee50eb84e4bef27'
             '808c02d4fec4cbbb01119bbb10499090199e738b7dd72c28a57dde098eef6132723f3434c151f79e21d9f788c7f7bae8046573ac93ba917afe0e803fbffa6d5a')
 
 prepare() {
-  cd dde-daemon-$_commit
+  cd dde-daemon-$pkgver
   patch -p1 -i ../dde-daemon_5.9.4.2.diff
 
   export GOPATH="$srcdir/build:/usr/share/gocode"
@@ -56,13 +55,13 @@
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
 
-  cd dde-daemon-$_commit
+  cd dde-daemon-$pkgver
   make -C network/nm_generator gen-nm-code
   make
 }
 
 package() {
-  cd dde-daemon-$_commit
+  cd dde-daemon-$pkgver
   make DESTDIR="$pkgdir" PAM_MODULE_DIR=usr/lib/security install
 
   mv "$pkgdir"{,/usr}/lib/systemd


More information about the arch-commits mailing list