[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at archlinux.org
Wed Sep 28 22:46:55 UTC 2016


    Date: Wednesday, September 28, 2016 @ 22:46:55
  Author: anthraxx
Revision: 190754

addpkg: libudev0-shim 1-1

- needed for steam

Added:
  libudev0-shim/
  libudev0-shim/repos/
  libudev0-shim/trunk/
  libudev0-shim/trunk/PKGBUILD

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

Added: libudev0-shim/trunk/PKGBUILD
===================================================================
--- libudev0-shim/trunk/PKGBUILD	                        (rev 0)
+++ libudev0-shim/trunk/PKGBUILD	2016-09-28 22:46:55 UTC (rev 190754)
@@ -0,0 +1,27 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=libudev0-shim
+pkgver=1
+pkgrel=1
+pkgdesc='libudev.so.0 compatibility library for systems with newer udev versions'
+url='https://github.com/archlinux/libudev0-shim'
+arch=('x86_64' 'i686')
+license=('GPL')
+provides=('libudev0')
+depends=('libsystemd')
+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