1 # Contributor: Nikolay Rysev <mad.f3ka@gmail.com>
2 pkgname=kdmfprintplugin-svn
5 pkgdesc="KDM plugin which can use fingerprint to login"
7 url="http://www.kde.org"
9 depends=('kdelibs' 'libfprint' 'pam_fprint' 'libusb' 'fprintd')
10 makedepends=('pkgconfig' 'cmake' 'automoc4' 'subversion' 'cmake')
11 install=kdmfprintplugin.install
12 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/playground/base/kfingerprint/KDMFprintPlugin
13 _svnmod=kdmfprintplugin
17 if [ -d $_svnmod/.svn ]; then
18 (cd $_svnmod && svn up)
20 svn co $_svntrunk $_svnmod
22 msg "SVN checkout done or server timeout"
23 msg "Starting make..."
26 cmake $srcdir/$_svnmod \
27 -DCMAKE_INSTALL_PREFIX=/usr
32 cd ${srcdir}/$_svnmod-build
33 make DESTDIR=${pkgdir} install
34 rm -rf $srcdir/$_svnmod-build