[arch-commits] Commit in hwinfo/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Dec 27 11:21:10 UTC 2019
Date: Friday, December 27, 2019 @ 11:21:09
Author: arodseth
Revision: 542970
upgpkg: hwinfo 21.67-1
Modified:
hwinfo/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-27 09:41:14 UTC (rev 542969)
+++ PKGBUILD 2019-12-27 11:21:09 UTC (rev 542970)
@@ -4,28 +4,28 @@
# Contributor: champus, madeye, ranguvar and ninja_pt
pkgname=hwinfo
-pkgver=21.61
+pkgver=21.67
pkgrel=1
pkgdesc='Hardware detection tool from openSUSE'
-arch=('x86_64')
+arch=(x86_64)
url='https://github.com/openSUSE/hwinfo'
-license=('GPL2')
-depends=('libx86emu' 'perl')
-makedepends=('flex' 'git' 'sysfsutils')
-options=('!emptydirs')
-source=("https://github.com/openSUSE/$pkgname/archive/$pkgver.tar.gz"
- 'custom_ioctl.patch')
-sha256sums=('dacd5d6f058cf0f39948f96e9265054d9ccea735a6098cec6aceb22365d097b4'
+license=(GPL2)
+depends=(libx86emu perl)
+makedepends=(flex git sysfsutils)
+options=(!emptydirs)
+source=("$pkgname-$pkgver.tgz::https://github.com/openSUSE/$pkgname/archive/$pkgver.tar.gz"
+ custom_ioctl.patch)
+sha256sums=('3e19447e6b7f85bc25918a15a28724529f19ab9b24d465ccfffee4aa49f4cc15'
'6e83b50aa34f31db5fe6de938402e7c4dda6ffa9ffe1346c076e4779018fcf1d')
prepare() {
- cd "$pkgname-$pkgver"
+ cd $pkgname-$pkgver
patch -p0 -i ../custom_ioctl.patch
echo 'touch changelog' > git2log
}
build() {
- make -C "$pkgname-$pkgver" -j1 \
+ make -C $pkgname-$pkgver -j1 \
HWINFO_VERSION="$pkgver" \
CFLAGS+="-fPIC -I$srcdir/$pkgname-$pkgver/src/hd" \
LIBDIR=/usr/lib
@@ -32,7 +32,7 @@
}
package() {
- make -C "$pkgname-$pkgver" LIBDIR=/usr/lib DESTDIR="$pkgdir" install
+ make -C $pkgname-$pkgver LIBDIR=/usr/lib DESTDIR="$pkgdir" install
mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
}
More information about the arch-commits
mailing list