updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / posterazor / PKGBUILD
blob93583356b02b5c572e20e7d3e5aca8f396559d87
1 # Maintainer : chris_L <chrislcenter dash mamoru at yahoo.com dot mx>
2 # Contributor: lele85 <emanuele.rampichini@gmail.com>
4 pkgname=posterazor
5 pkgver=1.9.6beta
6 pkgrel=1
7 pkgdesc="PosteRazor cuts a raster image into pieces which can be printed and assembled to a poster."
8 arch=('i686' 'x86_64')
9 url="http://posterazor.sourceforge.net/"
10 license=('GPL')
11 depends=('qt')
12 source=(http://www.fileden.com/files/2010/12/31/3049394//posterazor-1.9.6-git.tar.gz $pkgname.desktop http://www.fileden.com/files/2010/12/31/3049394/posterazor.png)
13 md5sums=('9ed418afdb88b2e9c74ca76cfeebe206'
14          '899e46bf0ef021054adcaada7a1b7eb9'
15          '3809b0b183e06ef5d11401f60bd0c835')
17 build() {
18         cd $startdir/src/posterazor/src
19         qmake posterazor.pro
20         make VERBOSE=1 || return 1
22         #Install binary
23         install -Dm755 PosteRazor $pkgdir/usr/bin/posterazor
25         #Install .desktop and icon
26         install -Dm644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
27         install -Dm644 $startdir/$pkgname.png $pkgdir/usr/share/icons/$pkgname.png