summaryrefslogtreecommitdiff
path: root/extra/fbset/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/fbset/PKGBUILD')
-rw-r--r--extra/fbset/PKGBUILD30
1 files changed, 15 insertions, 15 deletions
diff --git a/extra/fbset/PKGBUILD b/extra/fbset/PKGBUILD
index 0db694c92..89cd0b7ae 100644
--- a/extra/fbset/PKGBUILD
+++ b/extra/fbset/PKGBUILD
@@ -1,29 +1,29 @@
-# $Id: PKGBUILD 49864 2009-08-16 19:15:47Z jgc $
+# $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=3
-pkgdesc="Framebuffer setup util"
-arch=(i686 x86_64)
+pkgrel=4
+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)
+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
+ 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"
}