updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / screenkast / PKGBUILD
blobeb917bc957db2317afba9a0287295ee805b268ad
1 # Contributor: Darwin Bautista <djclue917@gmail.com>
3 pkgname=screenkast
4 pkgver=0.1.4
5 pkgrel=2
6 pkgdesc="Screen-capture program that supports comment boxes and exports to virtually all video formats"
7 arch=(i686 x86_64)
8 url="http://sourceforge.net/projects/screenkast/"
9 license="GPL"
10 depends=('kdelibs' 'libinstrudeo' 'tightvnc')
11 makedepends=('ftgl')
12 source=(http://dl.sourceforge.net/sourceforge/screenkast/${pkgname}-${pkgver}.tar.gz)
13 md5sums=('da89f003cd35d19f9bd7ea9426ffb6d0')
15 build() {
16   cd ${startdir}/src/${pkgname}-${pkgver}/
18   # Source the KDE and QT profiles
19   [ -f /etc/profile.d/kde.sh ] && source /etc/profile.d/kde.sh
20   [ -f /etc/profile.d/qt.sh ] && source /etc/profile.d/qt.sh
22   ./configure --prefix=/opt/kde --disable-debug
23   make || return 1
24   make DESTDIR=${startdir}/pkg install
26   # Fix the Categories and Generic name in menu shortcut
27   sed -e '3,4d' -e 's|Video;;|AudioVideo;|' \
28       -e 's|Screen capturing and captorials.com client|Screen Capture|' \
29       -i ${startdir}/pkg/opt/kde/share/applications/kde/screenkast.desktop