updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / sir / PKGBUILD
blobf3887dce13362a4995c39ef8a6d658454b3c9759
1 # Contributor: shamrok <szamrok@gmail.com>
2 # Contributor: Alois Nespor <alois.nespor@gmail.com>
3 # Contributor: marvn <mistrmarvn@gmail.com>
4  
5 pkgname=sir
6 pkgver=2.2
7 pkgrel=1
8 pkgdesc="Simple image resizer in qt4" 
9 arch=('i686' 'x86_64')
10 url="http://sir.projet-libre.org/" 
11 license=('GPL') 
12 depends=('qt')
13 optdepends=("dcraw: RAW images support")
14 source=("http://sir.googlecode.com/files/sir_$pkgver.tar.gz"
15         "sir.desktop") 
17 build() { 
18      cd $srcdir/sir/
19      qmake sir.pro || return 1
20      make || return 1 
22 package() {
23      cd $srcdir/sir/
24      install -D -m 755 sir $pkgdir/usr/bin/sir
25      install -D -m 644 ../sir.desktop $pkgdir/usr/share/applications/sir.desktop
26      install -D -m 644 $srcdir/sir/images/sir-128x128.png $pkgdir/usr/share/pixmaps/sir-128x128.png
27 }  
28 md5sums=('b5df07b8cc872adbde96b4108e69c589'
29          'a158f026dd9f435e64cd03797a25d1b5')