Merge pull request #187 from Ypnose/master

New package: network-ups-tools-2.6.5_1
This commit is contained in:
Juan RP 2013-09-30 18:46:22 -07:00
commit 244e5637cf
2 changed files with 28 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'bar-git'
pkgname=bar-git
version=20130927
version=20130930
revision=1
makedepends="libxcb-devel"
short_desc="A lightweight xcb based bar"
@ -22,7 +22,9 @@ do_build() {
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vinstall LICENSE 644 usr/share/licenses/$pkgname
vinstall palette.pl 755 usr/bin
vinstall LICENSE 644 usr/share/licenses/${pkgname}
vinstall README.md 644 usr/share/doc/${pkgname}
}
bar-git_package() {

View File

@ -0,0 +1,24 @@
# Template file for 'network-ups-tools'
pkgname=network-ups-tools
version=2.6.5
revision=1
build_style=gnu-configure
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"
short_desc="NUT provides UPS control and monitoring features"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL-2"
homepage="http://www.networkupstools.org/"
distfiles="http://www.networkupstools.org/source/2.6/nut-$version.tar.gz"
checksum=618df71cf1ca6e3700d1d3c282773a2dec85f9f20324c0d3234c824e97feb93f
wrksrc="nut-${version}"
network-ups-tools_package() {
system_accounts="nut"
depends="shadow"
pkg_install() {
vmove all
}
}