summaryrefslogtreecommitdiff
path: root/pcr/eudev
diff options
context:
space:
mode:
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() {