diff options
author | proninyaroslav | 2016-03-21 15:02:36 +0300 |
---|---|---|
committer | proninyaroslav | 2016-03-21 15:02:36 +0300 |
commit | 7e28be489f5e8827c14759649df2362f5cf53ad9 (patch) | |
tree | 8585dcf8c5bf22f82b713e348c8266fb972b2b4e | |
parent | f7f74439e9cc98ee045651d32d0d31f2796cadbd (diff) | |
download | aur-7e28be489f5e8827c14759649df2362f5cf53ad9.tar.gz |
Fix build failure
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 18 insertions, 7 deletions
@@ -1,12 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon Mar 21 12:02:07 UTC 2016 pkgbase = libudev0 pkgdesc = Dynamic library to access udev device information, legacy libudev.so.0. pkgver = 182 - pkgrel = 2 + pkgrel = 3 url = https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html arch = x86_64 arch = i686 license = GPL + makedepends = kmod + makedepends = usbutils makedepends = gperf + depends = glibc source = https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-182.tar.xz sha256sums = adb8892f3b8e4b7163703ed4a545774721a3d55a1062de001f08c477c03d97ab @@ -1,20 +1,27 @@ # Maintainer: yaroslav <proninyaroslav@mail.ru> +# Contributor: WorMzy Tykashi <wormzy.tykashi@gmail.com> # Contributor: jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com> pkgname=('libudev0') pkgver=182 -pkgrel=2 +pkgrel=3 pkgdesc="Dynamic library to access udev device information, legacy libudev.so.0." url="https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html" arch=('x86_64' 'i686') license=('GPL') -makedepends=('gperf') +depends=('glibc') +makedepends=('kmod' 'usbutils' 'gperf') source=("https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-182.tar.xz") sha256sums=('adb8892f3b8e4b7163703ed4a545774721a3d55a1062de001f08c477c03d97ab') prepare() { - cd "${srcdir}/udev-${pkgver}" - autoreconf -vfi + cd "${srcdir}/udev-${pkgver}" + autoreconf -vfi + + # Event codes have been moved out of input.h + sed -i 's:input.h:input-event-codes.h:' Makefile.in + # stdin.h is needed for uint32_t and uint8_t typedefs + sed -i '20a#include <stdint.h>' src/mtd_probe/mtd_probe.h } build() { @@ -33,6 +40,5 @@ build() { package() { cd "${srcdir}/udev-${pkgver}" install -Dm755 .libs/libudev.so.0.13.1 "${pkgdir}/usr/lib/libudev.so.0.13.1" - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" ln -s "/usr/lib/libudev.so.0.13.1" "${pkgdir}/usr/lib/libudev.so.0" -}
\ No newline at end of file +} |