summaryrefslogtreecommitdiff
path: root/extra/fbset/PKGBUILD
blob: 3e1ac8ab394ea15fa4cba04478c21fb78838eea1 (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 185293 2013-05-13 00:49:44Z eric $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Paul Mattal <pjmattal@elys.com>

pkgname=fbset
pkgver=2.1
pkgrel=5
pkgdesc="Framebuffer setup utility"
arch=('i686' 'x86_64')
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/bin/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"
}