diff options
author | proninyaroslav | 2015-07-13 18:04:19 +0300 |
---|---|---|
committer | proninyaroslav | 2015-07-13 18:04:19 +0300 |
commit | f7f74439e9cc98ee045651d32d0d31f2796cadbd (patch) | |
tree | d7766cd3d4d3c53e9c579f7aeae190f3f950bb06 | |
download | aur-f7f74439e9cc98ee045651d32d0d31f2796cadbd.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..992fc34b7402 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = libudev0 + pkgdesc = Dynamic library to access udev device information, legacy libudev.so.0. + pkgver = 182 + pkgrel = 2 + url = https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html + arch = x86_64 + arch = i686 + license = GPL + makedepends = gperf + source = https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-182.tar.xz + sha256sums = adb8892f3b8e4b7163703ed4a545774721a3d55a1062de001f08c477c03d97ab + +pkgname = libudev0 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f565314b57f7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: yaroslav <proninyaroslav@mail.ru> +# Contributor: jdarch <jda -dot- cloud -plus- archlinux -at- gmail -dot- com> + +pkgname=('libudev0') +pkgver=182 +pkgrel=2 +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') +source=("https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-182.tar.xz") +sha256sums=('adb8892f3b8e4b7163703ed4a545774721a3d55a1062de001f08c477c03d97ab') + +prepare() { + cd "${srcdir}/udev-${pkgver}" + autoreconf -vfi +} + +build() { + cd "${srcdir}/udev-${pkgver}" + ./configure \ + --disable-gudev \ + --disable-introspection \ + --sysconfdir=/etc \ + --bindir=/usr/bin \ + --sbindir=/usr/bin \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib/udev + make LIBS="-lrt" +} + +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 |