blob: 900575747774dbacb189841e25d1d2adbfa190ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: WilssonMartee <wilssonm@gmail.com>
pkgname=mac-fan-control
pkgver=1
pkgrel=1
pkgdesc="Fan control for Mac devices"
arch=('any')
license=('GPL3')
makedepends=('git')
provides=("${pkgname}")
options=(!strip !emptydirs)
backup=(etc/mac-fan-control.conf)
source=("${pkgname}::git+https://git.ogenos.org/wilssonmartee/${pkgname}")
sha256sums=('SKIP')
prepare() {
rm -rf "$srcdir/$pkgname/.git"
}
package() {
install -dm755 "$pkgdir/usr/share/$pkgname"
cp -rf "$srcdir/$pkgname/scripts/"* "$pkgdir/usr/share/$pkgname"
install -dm755 "$pkgdir/usr/bin"
cp -rf "$srcdir/$pkgname/bin/"* "$pkgdir/usr/bin/"
install -dm755 "$pkgdir/etc/systemd/system"
cp -rf "$srcdir/$pkgname/services/"* "$pkgdir/etc/systemd/system/"
install -dm755 "$pkgdir/etc"
cp -rf "$srcdir/$pkgname/conf/"* "$pkgdir/etc/"
install=post.install
}
|