summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-21 04:03:05 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-21 04:03:05 +0000
commitc925b627b01ec8ab7044dd26b245ac0b99992d0e (patch)
treec5c2c5053a616a7f6842fe87d283a22a26d59cd5 /community
parentc191cced4be4333b966cae0432ae8de29663fa5f (diff)
Mon Apr 21 03:59:45 UTC 2014
Diffstat (limited to 'community')
-rw-r--r--community/apcupsd/PKGBUILD40
-rw-r--r--community/minetest/PKGBUILD7
2 files changed, 29 insertions, 18 deletions
diff --git a/community/apcupsd/PKGBUILD b/community/apcupsd/PKGBUILD
index 4c9809f48..01a9bf6be 100644
--- a/community/apcupsd/PKGBUILD
+++ b/community/apcupsd/PKGBUILD
@@ -1,32 +1,36 @@
-# $Id: PKGBUILD 109373 2014-04-14 09:42:06Z spupykin $
+# $Id: PKGBUILD 109871 2014-04-20 11:32:13Z bluewind $
+# Maintainer: Florian Pritz <bluewind@xinu.at>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Todd Musall <tmusall@comcast.net>
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Contributor: Todd Musall <tmusall@comcast.net>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=apcupsd
pkgver=3.14.12
-pkgrel=1
+pkgrel=2
pkgdesc="Power mangement and controlling most of APC's UPS models"
arch=(i686 x86_64)
url="http://www.apcupsd.org"
license=('GPL')
-depends=('gcc-libs')
+depends=('gcc-libs' 'systemd-sysvcompat')
optdepends=('gd: for CGI'
'gconf: for frontend'
'gtk2: for frontend')
-makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2' 'systemd-sysvcompat')
-backup=(etc/apcupsd/apcupsd.conf etc/apcupsd/hosts.conf
- etc/apcupsd/multimon.conf)
-source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz
+makedepends=('pkgconfig' 'gd' 'gconf' 'gtk2')
+backup=(etc/apcupsd/apcupsd.conf
+ etc/apcupsd/hosts.conf
+ etc/apcupsd/multimon.conf
+ etc/apcupsd/apcupsd.css
+ etc/apcupsd/changeme
+ etc/apcupsd/commfailure
+ etc/apcupsd/commok
+ etc/apcupsd/offbattery
+ etc/apcupsd/onbattery
+ etc/apcupsd/apccontrol)
+source=(http://downloads.sourceforge.net/apcupsd/$pkgname-$pkgver.tar.gz{,.sig}
apcupsd.service
apcupsd-tmpfiles.conf)
-sha256sums=('0707b5ec9916fbde9e44eb8d18037c8d8f75dfd6aeef51aba5487e189eef2032'
- '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
- 'b00cd1a31de70a172698d486583aa79113b99c1bb4b882ab906d0e37504d7f55')
-sha256sums=('adc72de89a704881d7c7454f7f98de7d0318102b2b08fe400f4e1cc4da462b73'
- '145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
- 'b00cd1a31de70a172698d486583aa79113b99c1bb4b882ab906d0e37504d7f55')
sha256sums=('1b4f703cb19cfdf44daf173dc8394cafd30fee0b30a0c75a7d19db622454a440'
+ 'SKIP'
'145e88863335f077fc354b4d263b15f64af67b45a10ed37c68ebd468181e23f7'
'b00cd1a31de70a172698d486583aa79113b99c1bb4b882ab906d0e37504d7f55')
@@ -43,10 +47,16 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
+
make DESTDIR="$pkgdir" install
+
install -Dm644 "$srcdir/apcupsd.service" "$pkgdir/usr/lib/systemd/system/apcupsd.service"
install -Dm644 "$srcdir/apcupsd-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/apcupsd.conf"
+
chmod 755 "$pkgdir"/usr/bin/*
+
install -dm755 "$pkgdir/usr/lib/$pkgname/cgi-bin"
mv "$pkgdir"/etc/apcupsd/*.cgi "$pkgdir/usr/lib/$pkgname/cgi-bin"
+
+ rm -rf "$pkgdir/usr/share/hal"
}
diff --git a/community/minetest/PKGBUILD b/community/minetest/PKGBUILD
index 23c4d03c2..2ac2cd01e 100644
--- a/community/minetest/PKGBUILD
+++ b/community/minetest/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 108846 2014-04-05 05:27:19Z lcarlier $
+# $Id: PKGBUILD 109869 2014-04-20 06:28:29Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Konsta Kokkinen <kray@tsundere.fi>
pkgname=minetest
pkgver=0.4.9
-pkgrel=3
+pkgrel=4
pkgdesc='An Infiniminer/Minecraft inspired game'
arch=('i686' 'x86_64')
url='http://minetest.net/'
license=('GPL')
-depends=('sqlite' 'leveldb' 'openal' 'libvorbis' 'curl' 'irrlicht' 'hicolor-icon-theme')
+depends=('sqlite' 'freetype2' 'leveldb' 'openal' 'libvorbis' 'curl' 'irrlicht' 'hicolor-icon-theme')
makedepends=('cmake')
install=minetest.install
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/minetest/${pkgname}/tarball/${pkgver}
@@ -31,6 +31,7 @@ build() {
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_GETTEXT=on \
+ -DENABLE_FREETYPE=1 \
-DENABLE_LEVELDB=on
make
}