updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / spacefm / PKGBUILD
blob04af22a4ae13b70c56d8a88f68a54c36d0a63590
1 # Maintainer: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
2 # Thanks to ridikulus_rat for PKGBUILD improvements
3 pkgname="spacefm"
4 pkgver=0.5.5
5 pkgrel=1
6 pkgdesc="A multi-panel tabbed file manager"
7 arch=('i686' 'x86_64')
8 url=("http://spacefm.sourceforge.net/")
9 license=('GPL2')
11 makedepends=('intltool' 'gettext')
12 depends=('gtk2' 'shared-mime-info' 'desktop-file-utils' 'startup-notification')
13 optdepends=('ktsuss: perform as root functionality'
14             'gksu: perform as root functionality'
15             'udisks: automount and device manager' 'wget' 'lsof' 'eject')
17 options=('!strip')
18 install="spacefm.install"
20 source=("http://downloads.sourceforge.net/project/spacefm/spacefm-${pkgver}.tar.xz")
21 md5sums=('bc18e18882458d9019a36d30fa00518c')
22 sha256sums=('485f7ba1d14e02ec5e1450ecd46afa3e2a372470f106a47fdfa718884e442aa1')
24 build() {
25     cd "${srcdir}/${pkgname}-${pkgver}"
26     echo
27     
28     # NOTE: To enable hal support add --enable-hal to
29     # configure line below. See README for details.
30     # NOTE: To disable inotify and use fam or gamin instead, add:
31     # --disable-inotify to configure line below.
32     # NOTE: To add a custom su program (mysu in this example), add:
33     # --with-preferable-sudo="mysu"  to configure line below.
34     
35     CFLAGS+="-g" ./configure --prefix="/usr"
36     echo
37     CFLAGS+="-g" make
38     echo
41 package() {
42     cd "${srcdir}/${pkgname}-${pkgver}"
43     echo
44     make DESTDIR="${pkgdir}/" install
45     echo