diff options
Diffstat (limited to 'community/libcec/PKGBUILD')
-rw-r--r-- | community/libcec/PKGBUILD | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/community/libcec/PKGBUILD b/community/libcec/PKGBUILD index 4593354f1..09810d7fe 100644 --- a/community/libcec/PKGBUILD +++ b/community/libcec/PKGBUILD @@ -1,33 +1,27 @@ -# $Id: PKGBUILD 99035 2013-10-22 19:26:05Z idevolder $ +# $Id: PKGBUILD 103164 2013-12-28 11:02:04Z idevolder $ # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> # Contributor: Philippe Cherel <philippe.cherel@mayenne.org> # vim: ft=sh: pkgname=libcec -pkgver=2.1.3 -pkgrel=3 +pkgver=2.1.4 +pkgrel=1 pkgdesc="Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter" arch=('i686' 'x86_64') -url="https://github.com/Pulse-Eight/libcec" +url="http://libcec.pulse-eight.com/" license=('GPL') depends=('udev' 'lockdev') -source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/libcec/tarball/$pkgname-$pkgver") -_srcfolder=Pulse-Eight-libcec-54be21e -sha256sums=('2aa88451b528184b02077ee8c6cd10e2f89121a6a05b1b35b4b792b03108a9d1') +source=("$pkgname-$pkgver.tar.gz::https://github.com/Pulse-Eight/$pkgname/archive/$pkgname-$pkgver.tar.gz") build() { - mv "$_srcfolder" "$pkgname-$pkgver" - - cd "$pkgname-$pkgver" - export CFLAGS="$CFLAGS -fPIC" - export CXXFLAGS="$CXXFLAGS -fPIC" - export LDFLAGS="$LDFLAGS -fPIC" + cd "$pkgname-$pkgname-$pkgver" autoreconf -vif ./configure --prefix=/usr make } package() { - cd "$pkgname-$pkgver" + cd "$pkgname-$pkgname-$pkgver" make DESTDIR="$pkgdir" install } +sha256sums=('79bef5232a5c9ab987ca3a2d4bfcaeb80480fd26f502dc1a996fe845d90fe147') |