[arch-commits] Commit in wxcam/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Feb 27 18:34:05 UTC 2015
Date: Friday, February 27, 2015 @ 19:34:05
Author: svenstaro
Revision: 128394
upgpkg: wxcam 1.1-8
update to cvs version
Modified:
wxcam/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-27 17:52:54 UTC (rev 128393)
+++ PKGBUILD 2015-02-27 18:34:05 UTC (rev 128394)
@@ -6,27 +6,19 @@
arch=('i686' 'x86_64')
license=(GPL)
pkgdesc="Webcam application for linux"
-# version of CImg library needed to compile wxcam -
-# http://cimg.sourceforge.net/
-_CImg_ver=1.5.8
url="http://wxcam.sourceforge.net"
makedepends=('intltool>=0.35.0' 'libsm')
-depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 'v4l-utils' 'alsa-lib')
-source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar"
- http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip)
-md5sums=('5f7058b199b93e9e3d94bca6166c1f46'
- '4941a3959f790ee68326403da1ed6dc7')
+depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 'v4l-utils' 'alsa-lib' 'cimg')
+source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar")
+md5sums=('5f7058b199b93e9e3d94bca6166c1f46')
-prepare() {
- cp "$srcdir"/CImg-${_CImg_ver}/CImg.h "$srcdir"/$pkgname-$pkgver
-}
-
build() {
cd "$srcdir"/$pkgname
- #sed -i "s/DEFAULTCONF.*/DEFAULTCONF=Release/g" nbproject/Makefile-impl.mk
+ sed -i "s/^DEFAULTCONF.*$/DEFAULTCONF=Release/g" nbproject/Makefile-impl.mk
make
}
package() {
cd "$srcdir"/$pkgname
+ install -Dm755 bin/wxcam "$pkgdir"/usr/bin/wxcam
}
More information about the arch-commits
mailing list