updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / animeshell / PKGBUILD
blobd9c1aa6dbaf667ba89c226b05bf2a094a2b44385
1 # Contributor: Shaika-Dzari <shaikadzari at gmail _dot_ com>
2 pkgname=animeshell
3 pkgver=1.0
4 pkgrel=3
5 pkgdesc="Collection manager for your animes and mangas"
6 arch=('i686')
7 url="http://code.google.com/p/animeshell/"
8 license=('GPL')
9 depends=('qt')
10 source=(http://animeshell.googlecode.com/files/Animeshell-$pkgver-linux.tar.bz2 Animeshell.desktop)
11 md5sums=('9cb24c9d68c117c05021d3465494e327'
12          '5200f176a7447940b3518ff471d5cf20')
14 build() {
15   export QMAKESPEC=linux-g++
17   cd "$startdir/src/Animeshell-$pkgver-linux"
19   qmake -config release
20   make || return 1
22   # Executable
23   install -Dm755 bin/Animeshell $startdir/pkg/usr/bin/Animeshell
24   
25   # .desktop file
26   install -Dm644 $startdir/src/Animeshell.desktop $startdir/pkg/usr/share/applications/Animeshell.desktop
28   # Icon
29   install -Dm644 ui/resources/animeshell-icon-10.png $startdir/pkg/usr/share/pixmaps/animeshell.png