[arch-commits] Commit in v86d/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Fri Dec 3 22:27:43 UTC 2010
Date: Friday, December 3, 2010 @ 17:27:43
Author: pierre
Revision: 102014
Fix dependencies
* The kernel sources are not really needed; the linux-api-headers are enough
* minor cleanup
Modified:
v86d/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-03 15:24:32 UTC (rev 102013)
+++ PKGBUILD 2010-12-03 22:27:43 UTC (rev 102014)
@@ -1,16 +1,13 @@
# $Id$
# Maintainer: Thomas Baechler <thomas at archlinux.org>
+
pkgname="v86d"
pkgver=0.1.9
-pkgrel=10
+pkgrel=11
pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
url="http://dev.gentoo.org/~spock/projects/uvesafb/"
license=('GPL2')
arch=("i686" "x86_64")
-# The kernel is only required for building
-# There is no kernel-specific dependency
-makedepends=('kernel26>=2.6.32' 'kernel26<2.6.33')
-_kernver="2.6.32-ARCH"
depends=('glibc')
conflicts=('mkinitcpio<0.5.99')
backup=(etc/modprobe.d/uvesafb.conf)
@@ -27,10 +24,15 @@
build() {
cd $srcdir/v86d-$pkgver
./configure --with-x86emu
- make KDIR=/lib/modules/${_kernver}/build || return 1
- make DESTDIR=$pkgdir install || return 1
+ # we only need /usr/include/video/uvesafb.h
+ make KDIR=/usr
+}
- install -D -m644 $srcdir/v86d $pkgdir/lib/initcpio/install/v86d || return 1
- install -D -m644 $srcdir/v86d_hook $pkgdir/lib/initcpio/hooks/v86d || return 1
- install -D -m644 $srcdir/modprobe.uvesafb $pkgdir/etc/modprobe.d/uvesafb.conf || return 1
+package() {
+ cd $srcdir/v86d-$pkgver
+ make DESTDIR=$pkgdir install
+
+ install -D -m644 $srcdir/v86d $pkgdir/lib/initcpio/install/v86d
+ install -D -m644 $srcdir/v86d_hook $pkgdir/lib/initcpio/hooks/v86d
+ install -D -m644 $srcdir/modprobe.uvesafb $pkgdir/etc/modprobe.d/uvesafb.conf
}
More information about the arch-commits
mailing list