summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxduugu2017-03-25 22:31:20 +0100
committerxduugu2017-03-25 22:31:20 +0100
commit6153cfd54dd51ff488208d34d3693aa1c5c9c74e (patch)
treed0ef738aae530f65d0b94aa72f7245201f5bec5c
parent00081c464f42dfa9a6d05ee1bfa3d0083c8b4674 (diff)
downloadaur-6153cfd54dd51ff488208d34d3693aa1c5c9c74e.tar.gz
Do not manually install systemd service files
The systemd services files are already installed by the build system.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3d6f1a9f9616..d60822318a38 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Sun May 8 11:17:04 UTC 2016
pkgbase = thinkfan-git
pkgdesc = The minimalist fan control program
- pkgver = 1.0_beta2.r0.f48e803
+ pkgver = 1.0_beta3.r5.3b4589c
pkgrel = 1
url = https://github.com/vmatare/thinkfan/
arch = i686
@@ -12,7 +10,7 @@ pkgbase = thinkfan-git
makedepends = git
depends = libatasmart
optdepends = lm_sensors: hwmon support
- provides = thinkfan=1.0_beta2.r0.f48e803
+ provides = thinkfan=1.0_beta3.r5.3b4589c
conflicts = thinkfan
source = git+https://github.com/vmatare/thinkfan.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index e5dbc388301b..ca7f33a4a615 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: SSF <punx69 at gmx dot net>
pkgname=thinkfan-git
-pkgver=1.0_beta2.r0.f48e803
+pkgver=1.0_beta3.r5.3b4589c
pkgrel=1
pkgdesc="The minimalist fan control program"
arch=('i686' 'x86_64')
@@ -27,6 +27,7 @@ build() {
-DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_SBINDIR=/usr/bin \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
.
make
}
@@ -38,10 +39,6 @@ package() {
install -dm755 "$pkgdir/usr/lib/modprobe.d/"
echo "options thinkpad_acpi fan_control=1" > "$pkgdir/usr/lib/modprobe.d/thinkpad_acpi.conf"
- # install systemd files
- install -dm755 "$pkgdir/usr/lib/systemd/system/"
- install -Dm644 rcscripts/systemd/*.service "$pkgdir/usr/lib/systemd/system/"
-
# fix systemd ExecStart
sed -ri 's@^(ExecStart=/usr/)local/s(bin/thinkfan)$@\1\2@' "$pkgdir/usr/lib/systemd/system/thinkfan.service"
}