summaryrefslogtreecommitdiff
path: root/pcr/eudev
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-05 12:35:23 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-05 12:35:23 -0500
commitaaef9c4a4bc1e344f3f779709aae2c553ca1f504 (patch)
tree9898c13c3cf35110a2d7a04078c68878932f3f04 /pcr/eudev
parentf32479c4ab20b9aeea3b9e0f691b29a8d5970b0e (diff)
downloadabslibre-aaef9c4a4bc1e344f3f779709aae2c553ca1f504.tar.gz
abslibre-aaef9c4a4bc1e344f3f779709aae2c553ca1f504.tar.bz2
abslibre-aaef9c4a4bc1e344f3f779709aae2c553ca1f504.zip
eudev-3.2.1-2: fix groups in udev rules and add gperf build fix
Diffstat (limited to 'pcr/eudev')
-rw-r--r--pcr/eudev/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/pcr/eudev/PKGBUILD b/pcr/eudev/PKGBUILD
index 9bf36a7e7..26591480a 100644
--- a/pcr/eudev/PKGBUILD
+++ b/pcr/eudev/PKGBUILD
@@ -6,9 +6,9 @@
_udev_ver=220
pkgbase=eudev
-pkgname=('eudev' 'libeudev')
+pkgname=('eudev' 'libeudev')
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gentoo.org/proj/en/eudev/"
license=('GPL')
@@ -17,15 +17,21 @@ options=('!libtool' '!staticlibs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/gentoo/eudev/archive/v${pkgver}.tar.gz"
'initcpio_hooks'
'initcpio_install'
- 'udev-hwdb.hook')
+ 'udev-hwdb.hook'
+ "gperf-build-fix.patch::https://github.com/gentoo/eudev/commit/5bab4d8de0dcbb8e2e7d4d5125b4aea1652a0d60.patch")
sha256sums=('88f530c1540750e6daa91b5eaeebf88e761e6f0c86515c1c28eedfd871f027c6'
'892ce43218e0a458981bbce451252c8987dc398e60b8de288e7542b8f2409c13'
'77dd1fd318b4456409aceb077f060b87944defb07cf39d29ad1968dc6f361875'
- '846e9ddbb95c8394ba7efe75107cc1308426921bc042f5d6b48fa4c2dcbac151')
+ '846e9ddbb95c8394ba7efe75107cc1308426921bc042f5d6b48fa4c2dcbac151'
+ '9c61af4d5bd3417ec87a241327f063aae67b46adbcd9eef6f87510815f95f724')
prepare(){
- cd "${srcdir}/${pkgbase}-${pkgver}"
- sed -e 's/GROUP="dialout"/GROUP="uucp"/' -i rules/*.rules
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ sed -e 's/GROUP="dialout"/GROUP="uucp"/' \
+ -e 's/GROUP="cdrom"/GROUP="optical"/' \
+ -e 's/GROUP="tape"/GROUP="storage"/' \
+ -i rules/*.rules
+ patch -p1 -i ${srcdir}/gperf-build-fix.patch
}
build() {