summaryrefslogtreecommitdiff
path: root/community/monica/PKGBUILD
blob: 30b21a1b856788d7b6d9fb1259a2ff846a3e9db8 (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
31
32
33
# $Id: PKGBUILD 83166 2013-01-27 16:22:08Z pierre $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=monica
pkgver=3.7
pkgrel=2.1
pkgdesc="A monitor calibration tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.pcbypaul.com/software/monica.html"
license=('BSD')
depends=('fltk' 'xorg-xgamma')
makedepends=('librsvg')
#http://www.pcbypaul.com/software/dl/${pkgname}-${pkgver}.tar.bz2
source=(ftp://ftp.archlinux.org/other/monica/${pkgname}-${pkgver}.tar.bz2 \
        monica.desktop monica.svg)
md5sums=('490aabc35b830e4a3dc32a2f893ba805'
         'a337bfda1fca7228420db0ce92256816'
         '4569f5df7d7b3eaf20108adf48e8dfe4')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -Dm755 monica "${pkgdir}/usr/bin/monica"
  install -Dm644 "${srcdir}/monica.desktop" "${pkgdir}/usr/share/applications/monica.desktop"
  install -Dm644 "${srcdir}/monica.svg" "${pkgdir}/usr/share/pixmaps/monica.svg"
  rsvg-convert -w 64 -h 57 -f png -o "${pkgdir}/usr/share/pixmaps/monica.png" "${srcdir}/monica.svg"
  install -Dm644 licence "${pkgdir}/usr/share/licenses/monica/license.txt"
}