[arch-commits] Commit in libftdi/trunk (PKGBUILD)
Kyle Keen
kkeen at nymeria.archlinux.org
Sun Feb 9 17:41:59 UTC 2014
Date: Sunday, February 9, 2014 @ 18:41:58
Author: kkeen
Revision: 105528
upgpkg: libftdi 1.1-2 (FS#38810)
Modified:
libftdi/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-09 17:06:51 UTC (rev 105527)
+++ PKGBUILD 2014-02-09 17:41:58 UTC (rev 105528)
@@ -1,9 +1,9 @@
# $Id$
-# Maintainer:
+# Maintainer: Kyle Keen <keenerd at gmail.com>
pkgname=libftdi
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc="A library to talk to FTDI chips"
arch=('i686' 'x86_64')
url="http://www.intra2net.com/en/developer/libftdi/download.php"
@@ -15,22 +15,20 @@
'SKIP')
prepare() {
- cd ${pkgname}1-$pkgver
+ cd "${pkgname}1-$pkgver"
sed -i 's|LIB_SUFFIX 64|LIB_SUFFIX ""|' CMakeLists.txt
}
build() {
- cd ${pkgname}1-$pkgver
+ cd "${pkgname}1-$pkgver"
mkdir build
cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_BUILD_TYPE=Release
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \
+ -DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=OFF
make
}
package() {
- cd ${pkgname}1-$pkgver/build
+ cd "${pkgname}1-$pkgver/build"
make DESTDIR="$pkgdir" install
- find examples -type f -perm -755 -exec install {} "$pkgdir/usr/bin" \;
- # Remove eepreom (conflict with i2c-tools FS#37925)
- rm "$pkgdir/usr/bin/eeprom"
}
More information about the arch-commits
mailing list