[arch-commits] Commit in deepin-api/trunk (PKGBUILD deepin-api.sysusers)

Felix Yan felixonmars at archlinux.org
Wed Sep 19 13:57:12 UTC 2018


    Date: Wednesday, September 19, 2018 @ 13:57:12
  Author: felixonmars
Revision: 383407

upgpkg: deepin-api 3.1.30-2

add missing system user

Added:
  deepin-api/trunk/deepin-api.sysusers
Modified:
  deepin-api/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   10 +++++++---
 deepin-api.sysusers |    2 ++
 2 files changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-19 13:32:52 UTC (rev 383406)
+++ PKGBUILD	2018-09-19 13:57:12 UTC (rev 383407)
@@ -4,7 +4,7 @@
 
 pkgname=deepin-api
 pkgver=3.1.30
-pkgrel=1
+pkgrel=2
 pkgdesc='Go-lang bindings for dde-daemon'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/dde-api"
@@ -16,8 +16,10 @@
 conflicts=('dde-api')
 replaces=('dde-api')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/felixonmars/dde-api/archive/$pkgver.tar.gz")
-sha512sums=('73c1403cc3a3b3253bca2689c5e3b772eae25250c660f15f58f5455e5984b33122c8ab02b1df2f150b9a2964316a79159d05d58f7b6b8d09a8aa2c37f8c390bd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/felixonmars/dde-api/archive/$pkgver.tar.gz"
+        deepin-api.sysusers)
+sha512sums=('73c1403cc3a3b3253bca2689c5e3b772eae25250c660f15f58f5455e5984b33122c8ab02b1df2f150b9a2964316a79159d05d58f7b6b8d09a8aa2c37f8c390bd'
+            '548b4c8d06a10f0103d84fe6b68532ca71aae53347a6ad85dad1d274844146c9861d1bf6ce8e5518ea1b043aa082d705c534f0a4c0feb16a031537cee6befb08')
 
 prepare() {
   export GOPATH="$srcdir/build:/usr/share/gocode"
@@ -40,4 +42,6 @@
 package() {
   cd dde-api-$pkgver
   make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
+
+  install -Dm644 ../deepin-api.sysusers "$pkgdir"/usr/lib/sysusers.d/deepin-api.conf
 }

Added: deepin-api.sysusers
===================================================================
--- deepin-api.sysusers	                        (rev 0)
+++ deepin-api.sysusers	2018-09-19 13:57:12 UTC (rev 383407)
@@ -0,0 +1,2 @@
+u deepin-sound-player - "Deepin Sound Player"
+g deepin-sound-player -



More information about the arch-commits mailing list