diff options
author | root <root@rshg047.dnsready.net> | 2011-07-08 23:09:34 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-08 23:09:34 +0000 |
commit | d006db78a1ce530e9df8a65f87bf39e8d6cc88e5 (patch) | |
tree | 082c5c2c39abee82c3957872552fa15c8325744d /extra/monica | |
parent | ff64a82ccedcb1690d2f0140d63432aa49676591 (diff) |
Fri Jul 8 23:09:34 UTC 2011
Diffstat (limited to 'extra/monica')
-rw-r--r-- | extra/monica/PKGBUILD | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/extra/monica/PKGBUILD b/extra/monica/PKGBUILD index 82b0a4850..b3783fd57 100644 --- a/extra/monica/PKGBUILD +++ b/extra/monica/PKGBUILD @@ -1,30 +1,33 @@ -# $Id: PKGBUILD 2959 2008-06-17 01:02:56Z eric $ +# $Id: PKGBUILD 130314 2011-07-04 22:06:55Z eric $ # Maintainer: tobias <tobias@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> pkgname=monica pkgver=3.7 -pkgrel=1 +pkgrel=2 pkgdesc="A monitor calibration tool" -arch=(i686 x86_64) -license=('custom') +arch=('i686' 'x86_64') 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'\ +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 ${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 + 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" } |