PKGBUILDs/extra/fbset/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
990 B
Bash

# $Id: PKGBUILD 49909 2009-08-16 20:55:49Z jgc $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Paul Mattal <pjmattal@elys.com>
pkgname=fbset
pkgver=2.1
pkgrel=3
pkgdesc="Framebuffer setup util"
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 || return 1
install -m755 -d "${pkgdir}/etc"
install -m755 -d "${pkgdir}/usr/sbin"
install -m755 -d "${pkgdir}/usr/share/man/man5"
install -m755 -d "${pkgdir}/usr/share/man/man8"
install -m755 fbset "${pkgdir}/usr/sbin/" || return 1
install -m644 fb.modes.5 "${pkgdir}/usr/share/man/man5/" || return 1
install -m644 fbset.8 "${pkgdir}/usr/share/man/man8/" || return 1
install -m644 etc/fb.modes.ATI "${pkgdir}/etc/fb.modes" || return 1
}