updated on Wed Jan 11 16:09:51 UTC 2012
[aur-mirror.git] / sonic-snap / PKGBUILD
blob16bd2bf77783b8613217ea2c6ac059f8d3536300
1 # Contributor: Pavel Shevchuk <stlwrt@gmail.com>
2 pkgname=sonic-snap
3 pkgver=1.7
4 pkgrel=1
5 pkgdesc="sn9c102 webcam application for linux"
6 url="http://www.stolk.org/sonic-snap/"
7 license="GPL"
8 depends=(fltk)
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=()
13 arch=(i686 x86_64)
14 install=
15 source=(http://www.stolk.org/sonic-snap/downloads/$pkgname-$pkgver.tar.gz)
16 md5sums=('072546bb305817c311143d60edbc4219')
18 build() {
19   cd $startdir/src/$pkgname-$pkgver
20   sed -i -e 's/g++-4.0/g++/g' Makefile || return 1
21   make || return 1
22   mkdir -p $startdir/pkg/usr/bin
23   make DESTDIR=$startdir/pkg install