diff options
Diffstat (limited to 'community/wxcam/PKGBUILD')
-rw-r--r-- | community/wxcam/PKGBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/community/wxcam/PKGBUILD b/community/wxcam/PKGBUILD index 974971d91..ea750b50c 100644 --- a/community/wxcam/PKGBUILD +++ b/community/wxcam/PKGBUILD @@ -1,7 +1,8 @@ +# $Id: PKGBUILD 103835 2014-01-12 02:47:26Z eric $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=wxcam pkgver=1.1 -pkgrel=1 +pkgrel=3 arch=('i686' 'x86_64' 'mips64el') license=(GPL) pkgdesc="Webcam application for linux" @@ -9,24 +10,24 @@ pkgdesc="Webcam application for linux" # http://cimg.sourceforge.net/ _CImg_ver=1.4.9 url="http://wxcam.sourceforge.net" -makedepends=('intltool>=0.35.0') +makedepends=('intltool>=0.35.0' 'libsm') depends=('libglade' 'mjpegtools' 'perlxml' 'wxgtk' 'xvidcore' 'v4l-utils' 'alsa-lib') source=(http://downloads.sourceforge.net/wxcam/${pkgname}-${pkgver}.tar.bz2 http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip) md5sums=('c9ea8991b6375c1709a7ce4e61fcc263' 'a07cba03f6d66a9970e0b3fcc230bddc') -build() { - cp $srcdir/CImg-${_CImg_ver}/CImg.h $srcdir/$pkgname-$pkgver +prepare() { + cp "$srcdir"/CImg-${_CImg_ver}/CImg.h "$srcdir"/$pkgname-$pkgver +} - cd $srcdir/$pkgname-$pkgver +build() { + cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install - - mv $pkgdir/usr/doc $pkgdir/usr/share/ + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" wxcamdocdir=/usr/share/doc/wxcam install } |