[arch-commits] Commit in android-udev/trunk (3 files)

Anatol Pomozov anatolik at archlinux.org
Fri Dec 15 17:14:58 UTC 2017


    Date: Friday, December 15, 2017 @ 17:14:57
  Author: anatolik
Revision: 274528

Switch to systemd-users

Added:
  android-udev/trunk/android-udev.sysusers.d
Modified:
  android-udev/trunk/PKGBUILD
Deleted:
  android-udev/trunk/android-udev.install

-------------------------+
 PKGBUILD                |    8 +++++---
 android-udev.install    |    4 ----
 android-udev.sysusers.d |    1 +
 3 files changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-15 15:27:22 UTC (rev 274527)
+++ PKGBUILD	2017-12-15 17:14:57 UTC (rev 274528)
@@ -10,11 +10,13 @@
 url='https://github.com/M0Rf30/android-udev-rules'
 license=(GPL3)
 depends=(udev libmtp)
-install='android-udev.install'
-source=(android-udev-$pkgver.zip::https://github.com/M0Rf30/android-udev-rules/archive/$pkgver.zip)
-md5sums=('2af65a4b71aa20d72df23401712d853b')
+source=(android-udev-$pkgver.zip::https://github.com/M0Rf30/android-udev-rules/archive/$pkgver.zip
+        android-udev.sysusers.d)
+sha1sums=('141c08127f98ba09a8dc8bae49ef30f44ad1e363'
+          '24d1dade2b277cb4aaca7966985142d3ac90c3ed')
 
 package() {
   cd android-udev-rules-$pkgver
   install -Dm 644 51-android.rules "$pkgdir"/usr/lib/udev/rules.d/51-android.rules
+  install -D -m644 "$srcdir"/android-udev.sysusers.d "$pkgdir"/usr/lib/sysusers.d/android-udev.conf
 }

Deleted: android-udev.install
===================================================================
--- android-udev.install	2017-12-15 15:27:22 UTC (rev 274527)
+++ android-udev.install	2017-12-15 17:14:57 UTC (rev 274528)
@@ -1,4 +0,0 @@
-post_install() {
-  getent group adbusers >/dev/null || groupadd -r adbusers
-  true
-}

Added: android-udev.sysusers.d
===================================================================
--- android-udev.sysusers.d	                        (rev 0)
+++ android-udev.sysusers.d	2017-12-15 17:14:57 UTC (rev 274528)
@@ -0,0 +1 @@
+g adbusers - -



More information about the arch-commits mailing list