# Maintainer: Luis Henrique # Mandatory pkgname=recordmydesktop pkgver=0.3.8.1 pkgrel=1lm source=("http://downloads.sourceforge.net/recordmydesktop/recordmydesktop-0.3.8.1.tar.gz") # Optional docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "TODO") url="http://recordmydesktop.sourceforge.net" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "recordMyDesktop (desktop session recorder)" "recordMyDesktop is a desktop session recorder for GNU/Linux that" "attemps to be easy to use, yet also effective at it's primary task." "" "It produces Ogg/Theora video output." ) build() { cd $startdir/src/$pkgname-$pkgver # Fix error: X11/extensions/shmstr.h: No such file or directory sed -i 's/shmstr.h/shmproto.h/g' src/rmd_getzpixmap.c sed -i 's/shmstr.h/shmproto.h/g' src/rmd_update_image.c ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux make || return 1 make DESTDIR=$startdir/pkg install }