updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lcdtest / PKGBUILD
blobe4caae24e3038c707cacbe620fc4b246047fb579
1 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
2 pkgname="lcdtest"
3 pkgver=1.18
4 pkgrel=1
5 pkgdesc="lcdtest is a utility to display LCD monitor test patterns."
6 arch=('i686' 'x86_64')
7 url="http://www.brouhaha.com/~eric/software/lcdtest/"
8 license=('GPL2')
9 depends=('sdl_image' 'sdl_ttf' 'ttf-liberation')
10 makedepends=('scons')
11 source=("http://www.brouhaha.com/~eric/software/lcdtest/download/${pkgname}-${pkgver}.tar.gz" patch)
13 md5sums=('d94f242f0ff35c75d6f4be89d3bc13d6'
14          '97ad0f31a07d8258e42c3078db8202c6')
15 sha512sums=('74b0739c5dcc5ff9307ca526b4a6bbd92d6e58a83ceeed5a37a4064e3e4ed0cbdfe7a2a70cd56ba1a7305c3fd72510e10a02098aab11828062a3999cac944ab7'
16             '73908be71d58a3afd5a71ef7f64293220b1b4b7e146792d436fb73282f8baa61c0e2d5434fc9c06e4d6b0bb591a2a0e6bbca10fee9b6c90d7fe6a1a56d121422')
18 build() {
19         cd ${srcdir}/${pkgname}-${pkgver}/
20         patch -p1 <$srcdir/patch
21         scons
22         install -d -m0755 ${startdir}/pkg/usr/bin
23         install -m0755 ${startdir}/src/${pkgname}-${pkgver}/build/${pkgname} ${startdir}/pkg/usr/bin
24         install -d -m0755 ${startdir}/pkg/usr/share/man/man1
25         install -m0644 ${startdir}/src/${pkgname}-${pkgver}/man/${pkgname}.1 ${startdir}/pkg/usr/share/man/man1
28 # vim:ts=4:sw=4:noet:enc=utf-8: