updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / silicon-empire / PKGBUILD
blob5eee1d82210b21386a3eee0a5d8102f7460e545f
1 # $Id$
2 # Maintainer: Hugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar>
4 pkgname=silicon-empire
5 pkgver=1.7.3
6 pkgrel=1
7 pkgdesc="Set of tools to manage and organize your optical discs like CDs, DVDs and Blu-rays."
8 arch=('i686' 'x86_64')
9 url="http://getsilicon.org/"
10 license=('GPL3')
11 depends=('fuseiso' 'phonon' 'taglib')
12 conflicts=('silicon-empire-git')
13 source=(http://getsilicon.org/download/silicon_${pkgver}_src.tar.gz)
14 md5sums=('3608f1ef5698c286caa4184ba0089cfe')
16 build() {
17   #cd $srcdir/silicon_${pkgver}_src
18   cd Silicon
20   sed -i '48d' Makefile
22   # Fix Makefile(qmake-qt4 -> qmake)
23   # sed -i 's/qmake-qt4/qmake/' Makefile
25   make
26   
27   cd build-linux
28   install -Dm755 bin/silicon $pkgdir/usr/bin/silicon 
29   cp -R lib/ share/ $pkgdir/usr
31   # Desktop icon
32   cd $srcdir/Silicon/src/Files
33   install -Dm644 silicon.desktop $pkgdir/usr/share/applications/silicon.desktop
34   install -Dm644 icons/silicon_22.png $pkgdir/usr/share/icons/hicolor/22x22/apps/silicon.png
35   install -Dm644 icons/silicon_32.png $pkgdir/usr/share/icons/hicolor/32x32/apps/silicon.png
36   install -Dm644 icons/silicon_48.png $pkgdir/usr/share/icons/hicolor/48x48/apps/silicon.png
37   install -Dm644 icons/silicon_64.png $pkgdir/usr/share/icons/hicolor/64x64/apps/silicon.png
38   install -Dm644 icons/silicon_128.png $pkgdir/usr/share/icons/hicolor/128x128/apps/silicon.png