summaryrefslogtreecommitdiff
path: root/community/monica/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-27 01:57:50 -0700
committerroot <root@rshg054.dnsready.net>2013-08-27 01:57:50 -0700
commit5ea071a53492ec9512f8d08a8b8ff8e08499209d (patch)
treec6d2f5880dfa0fd1c5e0ea7e4cd9441389ae94f5 /community/monica/PKGBUILD
parent1d0d7aa1e250616385bce94b4d23f53b3d7b29e2 (diff)
Tue Aug 27 01:56:38 PDT 2013
Diffstat (limited to 'community/monica/PKGBUILD')
-rw-r--r--community/monica/PKGBUILD49
1 files changed, 30 insertions, 19 deletions
diff --git a/community/monica/PKGBUILD b/community/monica/PKGBUILD
index 3c24c4e7d..77d620962 100644
--- a/community/monica/PKGBUILD
+++ b/community/monica/PKGBUILD
@@ -1,33 +1,44 @@
-# $Id: PKGBUILD 83166 2013-01-27 16:22:08Z pierre $
-# Maintainer: tobias <tobias@archlinux.org>
+# $Id: PKGBUILD 96371 2013-08-26 20:02:02Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=monica
pkgver=3.7
-pkgrel=2
-pkgdesc="A monitor calibration tool"
-arch=('i686' 'x86_64')
+pkgrel=3
+pkgdesc='Monitor calibration tool'
+arch=('x86_64' 'i686')
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')
+makedepends=('gendesk')
+source=("ftp://ftp.archlinux.org/other/monica/$pkgname-$pkgver.tar.bz2"
+ 'monica.png')
+sha256sums=('da0d7762f5a2eed482e8e2f87762d3ac1f013d5c99bd99b34083b69f03492036'
+ '4c9852c7462f747eeede72f252e2578d827c12f09ffd83808f695a64c67bee69')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" \
+ --categories 'Application;Settings;System'
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$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"
+ cd "$pkgname-$pkgver"
+
+ install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$srcdir/$pkgname.png" \
+ "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 licence "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
+
+# vim:set ts=2 sw=2 et: