[arch-commits] Commit in libudev0-shim/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:05:58 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:05:58
  Author: felixonmars
Revision: 659982

archrelease: copy trunk to community-staging-x86_64

Added:
  libudev0-shim/repos/community-staging-x86_64/
  libudev0-shim/repos/community-staging-x86_64/PKGBUILD
    (from rev 659981, libudev0-shim/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: libudev0-shim/repos/community-staging-x86_64/PKGBUILD (from rev 659981, libudev0-shim/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:05:58 UTC (rev 659982)
@@ -0,0 +1,28 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libudev0-shim
+pkgver=1
+pkgrel=4
+pkgdesc='libudev.so.0 compatibility library for systems with newer udev versions'
+url='https://github.com/archlinux/libudev0-shim'
+arch=('x86_64')
+license=('GPL')
+provides=('libudev0')
+conflicts=('libudev0')
+depends=('systemd-libs')
+source=(${pkgname}.tar.gz::https://github.com/archlinux/libudev0-shim/archive/v${pkgver}.tar.gz)
+sha512sums=('794810b20be6391cb6af53c2c49705f8bd884dd6eb5d1fd5b659481a01490205cc60e0f1904c020fb0e59e984583762ba6775f977a78b95a40ba82eb93965387')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  unset LDFLAGS
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 libudev.so.0.0.9999 -t "${pkgdir}/usr/lib"
+  ln -s libudev.so.0.0.9999 "${pkgdir}/usr/lib/libudev.so.0"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list