network-ups-tools: create user/group and removed *-devel

This commit is contained in:
Ypnose 2013-09-30 13:22:03 +02:00
parent c2ebce6f33
commit 60cd89de63
2 changed files with 3 additions and 12 deletions

View file

@ -1 +0,0 @@
network-ups-tools/

View file

@ -3,7 +3,7 @@ pkgname=network-ups-tools
version=2.6.5
revision=1
build_style=gnu-configure
configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc/ups --without-doc
configure_args="--sbindir=/usr/bin --sysconfdir=/etc/ups --without-doc
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl --with-serial
--with-usb --with-udev-dir=/usr/lib/udev --with-systemdsystemunitdir=/lib/systemd/system"
makedepends="openssl-devel libusb-compat-devel"
@ -15,17 +15,9 @@ distfiles="http://www.networkupstools.org/source/2.6/nut-$version.tar.gz"
checksum=618df71cf1ca6e3700d1d3c282773a2dec85f9f20324c0d3234c824e97feb93f
wrksrc="nut-${version}"
network-ups-tools-devel_package() {
depends="network-ups-tools>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/*.so.*"
}
}
network-ups-tools_package() {
system_accounts="nut"
depends="shadow"
pkg_install() {
vmove all
}