updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / regain-desktop / PKGBUILD
blobd93dbd7ab3412773e583478e47b3bad8ccf5d666
1 # Maintainer: Frank Poehler <fp29129 at googlemail dot com>
3 pkgname=regain-desktop
4 pkgver=1.7.9
5 pkgrel=1
6 pkgdesc="A desktop search engine similar to Google Desktop"
7 arch=('i686' 'x86_64')
8 url="http://regain.sourceforge.net/?lang=en"
9 license=('LGPL2.1')
10 groups=()
11 depends=('java-runtime')
12 makedepends=()
13 optdepends=('zenity: for using search-regain.sh' 'jdic: for tray icon support (not tested)')
14 provides=('regain-desktop')
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=regain-desktop.install
20 changelog=
21 source=(http://sourceforge.net/projects/regain/files/regain/$pkgver%20Preview/regain_v$pkgver-PREVIEW_desktop_linux.zip/download
22         start-regain.sh
23         search-regain.sh)
24 noextract=()
25 sha256sums=('1d0f02946137a950373a77ebdc13b0a848295960a3c460a9d6f2d7319a39fbc3'
26             '620332485b6fa33a5e094c1235e1fca3c9c04eaa4b349110283095f10c2d62a3'
27             '289cb8f390d31691fd9e5c6602a7b34dc8139e45c2aa57cc3c99275a474d69ba')
29 _install_prefix=/opt/regain-desktop
31 build() {
32   cd "$srcdir"
33   rm regain/regain.sh
34   mkdir -p "$pkgdir/$_install_prefix" || exit 1
35   cp {start-regain,search-regain}.sh "$pkgdir/$_install_prefix"
36   cp -R regain/* "$pkgdir/$_install_prefix"