summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e14344039bf6e8e6f3bf2f6bd725db646f35231 (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
# Maintainer: L. Bradley LaBoon <me@bradleylaboon.com>
pkgname=dell-ulnm
pkgver=3.0_038H3
pkgrel=4
pkgdesc="Dell UPS Local Node Manager"
url="http://www.dell.com/"
arch=('x86_64')
depends=('libusb-compat')
license=('custom')
install="$pkgname.install"
source=(
	"http://dragon.bradleylaboon.com/~brad/${pkgname}-${pkgver}.tar.gz"
	"$pkgname.service"
)
sha256sums=(
	'6e2c906b589142b96a49a487bead9e117561ffa52c80e5b93b95f21d442b863d'
	'9a49ff3f5a883329413774c0db9cad2daaa822a006341e8cf7df1b2ac1444640'
)

package() {
	cd "$srcdir"
	install -Dm644 "$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
	cd "$pkgname"
	install -Dm644 "copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
	rm "copyright"
	mkdir -p "$pkgdir/usr/local/Dell/UPSLocalNodeManager"
	cp -r * "$pkgdir/usr/local/Dell/UPSLocalNodeManager"
}