summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb02c158b183dfeb45d5af6e5aeebe85a0e36c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: robertfoster

pkgname=tinycamd-svn
pkgver=46
pkgrel=1
pkgdesc="A small webcam daemon for Video4Linux2 devices"
arch=('i686' 'x86_64')
url="https://tinycamd.googlecode.com"
license=('BSD')
depends=('libjpeg-turbo')
makedepends=('subversion')
source=("tinycamd::svn+http://tinycamd.googlecode.com/svn/trunk/")

pkgver() {
  cd tinycamd
  svnversion | tr -d [A-z]
}

build() {
  cd tinycamd
  make CFLAGS="-Wall -O2 -MMD $(CFLAGS) $(COPTS)"
}

package() {
  cd tinycamd
  make DESTDIR=$pkgdir install
}

md5sums=('SKIP')