diff options
-rw-r--r-- | main/lm_sensors/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/lm_sensors/APKBUILD b/main/lm_sensors/APKBUILD index 0327dc775..2d94523d8 100644 --- a/main/lm_sensors/APKBUILD +++ b/main/lm_sensors/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lm_sensors -pkgver=3.1.1 +pkgver=3.1.2 pkgrel=0 pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring." url="http://www.lm-sensors.org/" @@ -17,9 +17,9 @@ source="http://dl.lm-sensors.org/lm-sensors/releases/$pkgname-$pkgver.tar.bz2 sensord.initd " -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" sed -i -e 's:^# \(PROG_EXTRA\):\1:' Makefile # Respect LDFLAGS @@ -34,6 +34,10 @@ build () patch -p1 < $i || return 1 done make PREFIX=/usr user || return 1 +} + +package() { + cd "$_builddir" make user_install \ PREFIX=/usr \ MANDIR=/usr/share/man \ @@ -55,7 +59,7 @@ detect() { mv usr/sbin/sensors-detect "$subpkgdir"/usr/bin/ } -md5sums="613d7cfa23b70c0abae3fabb0a72ff5f lm_sensors-3.1.1.tar.bz2 +md5sums="58a9a225808ac4587c4c8cbd12b40b5c lm_sensors-3.1.2.tar.bz2 b6e7de1a1768f7a6ea2e00c226331877 lm_sensors-3.1.0-sensors-detect-alpine.patch 58f4c9193a903711ace7fa0754693bd2 fancontrol.initd 2c7e97203da2c39bc9fbfc2a4849cfd4 lm_sensors.initd |