summaryrefslogtreecommitdiff
path: root/extra/monica/PKGBUILD
blob: 82b0a4850e8cc4839a60f5d27c5df7c03fb5c19c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 2959 2008-06-17 01:02:56Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=monica
pkgver=3.7
pkgrel=1
pkgdesc="A monitor calibration tool"
arch=(i686 x86_64)
license=('custom')
url="http://www.pcbypaul.com/software/monica.html"
depends=('fltk')
makedepends=('librsvg' 'python')
source=(http://www.pcbypaul.com/software/dl/${pkgname}-${pkgver}.tar.bz2 \
        ${pkgname}.desktop ${pkgname}.svg)
md5sums=('490aabc35b830e4a3dc32a2f893ba805' 'a337bfda1fca7228420db0ce92256816'\
         '4569f5df7d7b3eaf20108adf48e8dfe4')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  make || return 1
  install -Dm755 ${pkgname} ${startdir}/pkg/usr/bin/${pkgname}
  install -Dm644 ../${pkgname}.desktop \
    ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
  install -Dm644 ../${pkgname}.svg \
    ${startdir}/pkg/usr/share/pixmaps/${pkgname}.svg
  rsvg -w 64 -h 57 -f png ${startdir}/pkg/usr/share/pixmaps/${pkgname}.svg \
    ${startdir}/pkg/usr/share/pixmaps/${pkgname}.png
  install -Dm644 licence ${startdir}/pkg/usr/share/licenses/monica/license.txt
}