summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71cebf5227ef5951feddc54c5a42f63676b4b428 (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
# Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
rpkgname=ledmon
pkgname=ledmonutils
pkgver=1.0.0
pkgrel=2
pkgdesc="Enclosure LED Utilities"
arch=('x86_64')
url="https://github.com/intel/ledmon"
license=('GPL')
provides=('ledmon')
depends=('sg3_utils' 'systemd-libs' 'pciutils' 'glibc')
makedepends=('systemd' 'autoconf-archive')
source=("https://github.com/intel/$rpkgname/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('2826786cd5e7fe7d32d22e9d209b23124801fec9c3220dcd7fb45706f3818dc5')

prepare() {
	cd "$rpkgname-$pkgver"
    ./autogen.sh
}

build() {
	cd "$rpkgname-$pkgver"
	./configure --prefix=/usr --sbindir=/usr/bin --enable-systemd
	make
}

package() {
	cd "$rpkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}