blob: 77d6209625261d95eb001632365395d150f71bf3 (
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
34
35
36
37
38
39
40
41
42
43
44
|
# $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=3
pkgdesc='Monitor calibration tool'
arch=('x86_64' 'i686')
url="http://www.pcbypaul.com/software/monica.html"
license=('BSD')
depends=('fltk' 'xorg-xgamma')
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 "$pkgname-$pkgver"
make
}
package() {
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:
|