summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b4a3f1396d67cf3b667bf1ad8b2056ba23e12b7 (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Oliver Herold <oli@fixmbr.de>

pkgname=gkrellkam
pkgver=2.0.0
pkgrel=2
pkgdesc="Plugin for gkrellm2 to retrieve webcam pictures"
url="http://gkrellkam.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gkrellm' 'gtk2' 'wget')
makedepends=('pkgconfig')
source=("https://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tar.gz")
md5sums=('657c99de172bc7598098a6a4196ff07b')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make LDFLAGS=-shared
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 gkrellkam2.so "$pkgdir/usr/lib/gkrellm2/plugins/gkrellkam2.so"
}