1 # Contributor: SanskritFritz (gmail)
6 pkgdesc="Clipboard manager that stores all clipboard history and offers an interface to do a full-text search."
8 url=http://anamnesis.sourceforge.net/
10 depends=('python2' 'pygtk' 'pyxdg' 'sqlite3')
11 optdepends=('xclip: for clipboard_implementation=gtk_xclip')
12 backup=('usr/share/anamnesis/anamnesis.cfg')
13 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
14 install='anamnesis.install'
15 md5sums=('83eeb75965b4f0bbb9ddf1a3601012ef')
18 install -dm755 $pkgdir/usr/share/{anamnesis,doc/anamnesis,man/man1}
20 cd $srcdir/$pkgname-$pkgver/source
21 for srcfile in $(ls *); do
22 install -m644 $srcfile $pkgdir/usr/share/anamnesis
25 cd $srcdir/$pkgname-$pkgver
26 install -m644 anamnesis.cfg $pkgdir/usr/share/anamnesis
27 install -m644 ChangeLog $pkgdir/usr/share/doc/anamnesis
28 install -m644 COPYING $pkgdir/usr/share/doc/anamnesis
29 install -m644 README $pkgdir/usr/share/doc/anamnesis
31 install -m644 man/* $pkgdir/usr/share/man/man1
33 chmod +x $pkgdir/usr/share/anamnesis/anamnesis.py
34 sed -i "s/python/python2/" $pkgdir/usr/share/anamnesis/anamnesis.py