updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / andromeda / PKGBUILD
blobf23b429a348d543186b47926f9bfdbf1ec606efc
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=andromeda
4 pkgver=0.0.0.1 # last git until first release
5 pkgrel=1
6 pkgdesc="Cross-platform file manager, written on Qt"
7 arch=('i686' 'x86_64')
8 url="https://gitorious.org/$pkgname"
9 license=('LGPL')
10 depends=('qtwebkit')
11 makedepends=('cmake')
12 install="$pkgname.install"
13 source=("https://gitorious.org/andromeda/andromeda/archive-tarball/master")
14 md5sums=(`wget -qO- $source | md5sum | cut -c -32`)
16 build() {
17   cd "$srcdir/$pkgname-$pkgname"
19   # x86_64 lib path fix
20   sed -i '/LIB_SUFFIX/s/64//' cmake/LibSuffix.cmake
22   # navigation panel background color fix (for dark themes)
23   sed -i '/pal/d' src/plugins/filemanagerplugin/navigationpanel.cpp
25   [ -d bld ] || mkdir bld && cd bld
26   cmake .. -DCMAKE_INSTALL_PREFIX=/usr
27   make
30 package() {
31   cd "$srcdir/$pkgname-$pkgname/bld"
32   make DESTDIR="$pkgdir/" install
35 # vim:set ts=2 sw=2 et: