diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-30 13:59:14 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-30 13:59:14 +0200 |
commit | c9f24b5e67b10a25e7ffa9afaefbd6ca76342940 (patch) | |
tree | d40774a5451822f227e9b59122fae865b02d0254 /community/hwinfo/PKGBUILD | |
parent | e7fca19e8659c6c5b6fbb34527b129e655514f1e (diff) | |
parent | 08483ba66f8da1bbec05f93e5e3493d3794c02bb (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/cinnamon-control-center/PKGBUILD
community/fbshot/PKGBUILD
community/fltk2/PKGBUILD
community/log4cpp/PKGBUILD
community/pion/PKGBUILD
Diffstat (limited to 'community/hwinfo/PKGBUILD')
-rw-r--r-- | community/hwinfo/PKGBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/community/hwinfo/PKGBUILD b/community/hwinfo/PKGBUILD index 4035112ac..42cb74bb0 100644 --- a/community/hwinfo/PKGBUILD +++ b/community/hwinfo/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 75503 2012-08-26 12:50:22Z arodseth $ +# $Id: PKGBUILD 89408 2013-04-29 10:54:52Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Gergely Imreh <imrehgATgmailDOTcom> @@ -8,8 +8,8 @@ # Contributor: ninja_pt pkgname=hwinfo -pkgver=20.0 -_subver=1.4 +pkgver=20.1 +_subver=3.10 pkgrel=1 pkgdesc='Hardware detection tool from openSUSE' arch=('i686' 'x86_64' 'mips64el') @@ -19,28 +19,28 @@ depends=('perl' 'libx86emu') makedepends=('sysfsutils' 'rpmextract' 'flex') source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/$pkgname-$pkgver-$_subver.src.rpm" 'custom_ioctl.patch') -sha256sums=('466423b00fda00bc5e927352fb8d2f52b4d4e4b298401cd44c48231951c2a26b' +sha256sums=('b0e2e51b4dd754071fb40843deaaafb0755388de5335b1d2c4c081d0f6393841' '6e83b50aa34f31db5fe6de938402e7c4dda6ffa9ffe1346c076e4779018fcf1d') -build() { +prepare() { cd "$srcdir" - msg2 "Extracting source rpm..." rpmextract.sh "$pkgname-$pkgver-$_subver.src.rpm" tar jxf $pkgname-$pkgver.tar.bz2 cd "$pkgname-$pkgver" - msg2 "Patching..." - patch -p0 < ../custom_ioctl.patch - msg2 "Compiling..." + patch -p0 -i ../custom_ioctl.patch +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + make -j1 CFLAGS+="-fPIC -I$srcdir/$pkgname-$pkgver/src/hd" LIBDIR=/usr/lib } package() { cd "$srcdir/$pkgname-$pkgver" - msg2 "Packaging files..." make LIBDIR=/usr/lib DESTDIR="$pkgdir" install - msg2 "Cleaning up..." rmdir "$pkgdir/sbin" } |