summaryrefslogtreecommitdiff
path: root/community/monica
diff options
context:
space:
mode:
Diffstat (limited to 'community/monica')
-rw-r--r--community/monica/PKGBUILD49
-rw-r--r--community/monica/monica.desktop10
-rw-r--r--community/monica/monica.pngbin0 -> 525 bytes
-rw-r--r--community/monica/monica.svg248
4 files changed, 30 insertions, 277 deletions
diff --git a/community/monica/PKGBUILD b/community/monica/PKGBUILD
index 30b21a1b8..11c9c0d3d 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.1
-pkgdesc="A monitor calibration tool"
-arch=('i686' 'x86_64' 'mips64el')
+pkgrel=3
+pkgdesc='Monitor calibration tool'
+arch=('x86_64' 'i686' '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')
+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:
diff --git a/community/monica/monica.desktop b/community/monica/monica.desktop
deleted file mode 100644
index 6b17659ca..000000000
--- a/community/monica/monica.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Monica
-Comment=Monitor Calibration for x-server
-Exec=monica
-Icon=monica
-Terminal=false
-Type=Application
-X-MultipleArgs=false
-Categories=Application;Settings;System;
diff --git a/community/monica/monica.png b/community/monica/monica.png
new file mode 100644
index 000000000..8a2b10f86
--- /dev/null
+++ b/community/monica/monica.png
Binary files differ
diff --git a/community/monica/monica.svg b/community/monica/monica.svg
deleted file mode 100644
index bb9f77d9b..000000000
--- a/community/monica/monica.svg
+++ /dev/null
@@ -1,248 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://web.resource.org/cc/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- sodipodi:docname="monica.svg"
- sodipodi:docbase="/home/pool/graphics/arch_candy/svg-icons"
- height="67.000000pt"
- width="70.000000pt"
- inkscape:version="0.41"
- sodipodi:version="0.32"
- id="svg1573">
- <defs
- id="defs1575">
- <linearGradient
- id="linearGradient1606">
- <stop
- id="stop1607"
- offset="0.0000000"
- style="stop-color:#000000;stop-opacity:0.62745100;" />
- <stop
- id="stop1608"
- offset="1.0000000"
- style="stop-color:#000000;stop-opacity:0.0000000;" />
- </linearGradient>
- <radialGradient
- gradientTransform="translate(0.000000,3.125000)"
- gradientUnits="userSpaceOnUse"
- fy="12.500000"
- fx="12.500000"
- r="12.433378"
- cy="12.500000"
- cx="12.500000"
- id="radialGradient1636"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- <linearGradient
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(2.437333,0.000000,0.000000,0.410284,0.000000,3.125000)"
- y2="0.0000000"
- x2="20.514223"
- y1="30.771334"
- x1="20.514223"
- id="linearGradient1638"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- <radialGradient
- gradientTransform="translate(-12.50000,3.250000)"
- gradientUnits="userSpaceOnUse"
- fy="12.500000"
- fx="100.00000"
- r="12.500000"
- cy="12.500000"
- cx="100.00000"
- id="radialGradient1643"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- <linearGradient
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.447214,0.000000,0.000000,2.236068,-12.50000,3.250000)"
- y2="19.565595"
- x2="251.55765"
- y1="19.565595"
- x1="223.60680"
- id="linearGradient1645"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- <linearGradient
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(0.508806,0.000000,0.000000,1.965387,0.000000,3.125000)"
- y2="18.889412"
- x2="0.0000000"
- y1="18.889412"
- x1="25.058681"
- id="linearGradient1647"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- <linearGradient
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(2.814390,0.000000,0.000000,0.355317,0.000000,-10.12500)"
- y2="246.61094"
- x2="22.207298"
- y1="211.07926"
- x1="22.207298"
- id="linearGradient1649"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- <radialGradient
- gradientTransform="translate(0.000000,-10.12500)"
- gradientUnits="userSpaceOnUse"
- fy="75.000000"
- fx="12.500000"
- r="12.500000"
- cy="75.000000"
- cx="12.500000"
- id="radialGradient1651"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- <radialGradient
- gradientTransform="translate(-12.50000,-10.000000)"
- gradientUnits="userSpaceOnUse"
- fy="75.000000"
- fx="100.00000"
- r="12.500000"
- cy="75.000000"
- cx="100.00000"
- id="radialGradient1653"
- xlink:href="#linearGradient1606"
- inkscape:collect="always" />
- </defs>
- <sodipodi:namedview
- inkscape:current-layer="svg1573"
- inkscape:window-y="3"
- inkscape:window-x="0"
- inkscape:grid-points="true"
- inkscape:grid-bbox="true"
- gridtolerance="2.0000000px"
- gridoriginx="0.0000000pt"
- gridoriginy="0.0000000pt"
- gridspacingx="10.000000pt"
- gridspacingy="10.000000pt"
- snaptogrid="false"
- showgrid="true"
- inkscape:window-height="1002"
- inkscape:window-width="1272"
- inkscape:cy="50.235475"
- inkscape:cx="67.194289"
- inkscape:zoom="7.9999998"
- inkscape:pageshadow="2"
- inkscape:pageopacity="0.0"
- borderopacity="1.0"
- bordercolor="#666666"
- pagecolor="#ffffff"
- id="base" />
- <metadata
- id="metadata1576">
- <rdf:RDF
- id="RDF1577">
- <cc:Work
- id="Work1578"
- rdf:about="">
- <dc:description
- id="description1579">Created with Inkscape
-http://www.inkscape.org/</dc:description>
- <dc:format
- id="format1581">image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage"
- id="type1583" />
- <dc:title
- id="title1606">ML-Term Icon</dc:title>
- <dc:date
- id="date1608">2004-07-14</dc:date>
- <dc:creator
- id="creator1610">
- <cc:Agent
- id="Agent1611">
- <dc:title
- id="title1612">Tobias Kieslich</dc:title>
- </cc:Agent>
- </dc:creator>
- <dc:coverage
- id="coverage1614" />
- <cc:license
- rdf:resource="http://creativecommons.org/licenses/GPL/2.0/"
- id="license1616" />
- </cc:Work>
- <cc:License
- id="License1624"
- rdf:about="http://creativecommons.org/licenses/GPL/2.0/">
- <cc:permits
- id="permits1625"
- rdf:resource="http://web.resource.org/cc/Reproduction" />
- <cc:permits
- id="permits1626"
- rdf:resource="http://web.resource.org/cc/Distribution" />
- <cc:requires
- id="requires1627"
- rdf:resource="http://web.resource.org/cc/Notice" />
- <cc:permits
- id="permits1628"
- rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
- <cc:requires
- id="requires1629"
- rdf:resource="http://web.resource.org/cc/ShareAlike" />
- <cc:requires
- id="requires1630"
- rdf:resource="http://web.resource.org/cc/SourceCode" />
- </cc:License>
- </rdf:RDF>
- </metadata>
- <path
- sodipodi:nodetypes="cc"
- id="path2775"
- d="M 5.8437501,76.625001 L 82.343750,76.625001"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:9.1875000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2007"
- d="M 10.593750,6.8437510 L 77.343750,6.8437510"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cccc"
- id="path2803"
- d="M 8.2187499,9.3437490 L 8.2187499,59.593751 L 79.718750,59.593751 L 79.718750,9.3437490"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2807"
- d="M 29.750001,67.218750 L 58.125000,67.218750"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#000000;stroke-width:14.937500;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2953"
- d="M 22.468750,14.718749 L 22.468750,52.468750"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#3f0000;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2955"
- d="M 27.468750,14.718749 L 27.468750,52.468750"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ff1500;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2957"
- d="M 41.593750,14.718749 L 41.593750,52.468750"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#0b2f00;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2959"
- d="M 46.593750,14.718749 L 46.593750,52.468750"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#08ce00;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2961"
- d="M 60.718750,14.718749 L 60.718750,52.468750"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#00004e;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
- <path
- sodipodi:nodetypes="cc"
- id="path2963"
- d="M 65.718750,14.718749 L 65.718750,52.468750"
- style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#0072ff;stroke-width:5.0625000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
-</svg>