diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/hwinfo/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/hwinfo/PKGBUILD')
-rw-r--r-- | community/hwinfo/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/hwinfo/PKGBUILD b/community/hwinfo/PKGBUILD new file mode 100644 index 000000000..7b081488f --- /dev/null +++ b/community/hwinfo/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 36515 2011-01-03 19:26:37Z kchen $ +# Maintainer: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: Gergely Imreh <imrehgATgmailDOTcom> +# Originally contributed by champus, madeye, Ranguvar and ninja_pt + +pkgname=hwinfo +pkgver=18.1 +_pkgver=$pkgver-3.5 +pkgrel=9 +pkgdesc='The hardware detection tool from openSUSE' +arch=('i686' 'x86_64') +url='http://www.opensuse.org/' +license=('GPL2') +depends=('perl' 'libx86emu') +makedepends=('sysfsutils' 'rpmextract' 'flex') +source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/$pkgname-$_pkgver.src.rpm" + 'kbd.patch') +md5sums=('17c2a703643d1f007859c5e743589bb8' + '1500ecfa26f6aaf4d7967eea74e86e5d') + +build() { + cd "${srcdir}" + rpmextract.sh "${pkgname}-${_pkgver}.src.rpm" + tar -xjf $pkgname-$pkgver.tar.bz2 + cd "${srcdir}/${pkgname}-${pkgver}" + +# Apply patch for custom ioctl + patch -p 0 < ../kbd.patch + + make -j1 LIBDIR=/usr/lib + make LIBDIR=/usr/lib DESTDIR=$pkgdir install +} |