[arch-commits] Commit in libftdi/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Nov 26 23:12:00 UTC 2014


    Date: Thursday, November 27, 2014 @ 00:12:00
  Author: kkeen
Revision: 123165

upgpkg: libftdi 1.2-1  and FS#41842

Modified:
  libftdi/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-26 23:11:33 UTC (rev 123164)
+++ PKGBUILD	2014-11-26 23:12:00 UTC (rev 123165)
@@ -5,8 +5,8 @@
 # Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
 
 pkgname=libftdi
-pkgver=1.1
-pkgrel=6
+pkgver=1.2
+pkgrel=1
 pkgdesc="A library to talk to FTDI chips, optional python bindings."
 arch=('i686' 'x86_64')
 url="http://www.intra2net.com/en/developer/libftdi/download.php"
@@ -16,12 +16,13 @@
 makedepends=('boost' 'cmake' 'python' 'swig')
 # doxygen for docs, confuse for eeprom
 source=(http://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig})
-sha1sums=('f05ade5614aa31e64f91a30ce3782f7ca3704d18'
+sha1sums=('636b9fcc745bf4eeb027a1dd891f770158444f7a'
           'SKIP')
 
 prepare() {
   cd "${pkgname}1-$pkgver"
   sed -i 's|LIB_SUFFIX 64|LIB_SUFFIX ""|' CMakeLists.txt
+  sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" packages/99-libftdi.rules
 }
 
 build() {
@@ -42,5 +43,6 @@
 package() {
   cd "${pkgname}1-$pkgver/build"
   make DESTDIR="$pkgdir" install
+  install -Dm644 "../packages/99-libftdi.rules" "$pkgdir/usr/lib/udev/rules.d/69-libftdi.rules"
 }
 


More information about the arch-commits mailing list