summaryrefslogtreecommitdiff
path: root/extra/fbset/PKGBUILD
blob: 787008d0f50a90e2d3ca1cb7a51fad94a56ff4fe (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
# $Id: PKGBUILD 135993 2011-08-21 06:02:11Z eric $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Paul Mattal <pjmattal@elys.com>

pkgname=fbset
pkgver=2.1
pkgrel=4
pkgdesc="Framebuffer setup utility"
arch=('i686' 'x86_64' 'mips64el')
url="http://users.telenet.be/geertu/Linux/fbdev/"
license=('GPL')
depends=('glibc')
backup=('etc/fb.modes')
options=('!makeflags')
source=(http://users.telenet.be/geertu/Linux/fbdev/fbset-${pkgver}.tar.gz)
md5sums=('e547cfcbb8c1a4f2a6b8ba4acb8b7164')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -D -m755 fbset "${pkgdir}/usr/sbin/fbset"
  install -D -m644 fb.modes.5 "${pkgdir}/usr/share/man/man5/fb.modes.5"
  install -D -m644 fbset.8 "${pkgdir}/usr/share/man/man8/fbset.8"
  install -D -m644 etc/fb.modes.ATI "${pkgdir}/etc/fb.modes"
}