summaryrefslogtreecommitdiff
path: root/community/yaws
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
committerroot <root@rshg054.dnsready.net>2013-11-05 00:47:11 -0800
commit4525bb3909f233fd13dbfb43aa6ff4e64e8340d9 (patch)
treeadd2024759bc7a18fc8d7f4101dc5d5d9b3e1e44 /community/yaws
parent058983fb5cb16dbb25368dd464cbcf27205b3f93 (diff)
Tue Nov 5 00:46:51 PST 2013
Diffstat (limited to 'community/yaws')
-rw-r--r--community/yaws/PKGBUILD25
-rw-r--r--community/yaws/yaws.service2
2 files changed, 13 insertions, 14 deletions
diff --git a/community/yaws/PKGBUILD b/community/yaws/PKGBUILD
index 2b525469c..128837dd1 100644
--- a/community/yaws/PKGBUILD
+++ b/community/yaws/PKGBUILD
@@ -1,23 +1,23 @@
-# $Id: PKGBUILD 94952 2013-08-01 13:32:19Z arodseth $
+# $Id: PKGBUILD 100429 2013-11-04 09:06:17Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Patrick Smits <mail@patricksmits.net>
pkgname=yaws
-pkgver=1.96
-pkgrel=2
-pkgdesc='Yet Another Web Server, pure Erlang HTTP server/framework'
+pkgver=1.97
+pkgrel=1
+pkgdesc='Pure Erlang HTTP web server/framework'
arch=('x86_64' 'i686')
url='http://yaws.hyber.org/'
license=('BSD')
-depends=('pam' 'erlang') # segfaults with erlang-nox
+depends=('pam' 'erlang-nox')
backup=('etc/yaws/yaws.conf')
options=('!emptydirs')
-install=$pkgname.install
+install="$pkgname.install"
source=("http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz"
"$pkgname.service")
-sha256sums=('8d4f16d18937335ac021ca4c65c8ee81dc4d71f133718c7148856cc6bf1f55e2'
- '3f8347add6e3741e77f7bb9ba6b31feb1c878e2e58ecf19063891e801fa24698')
+sha256sums=('a792478564866393f3e901bf4ec33272c22d7c01a8c5493b33856729d25b026e'
+ '09bd1f9f17833c83b4d82d3ac9dc2bf539c8e20ef92d438fced6e70b2aea61bc')
prepare() {
cd "$pkgname-$pkgver"
@@ -38,14 +38,13 @@ build() {
}
package() {
- cd "$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
install -d "$pkgdir/usr/lib/erlang/lib"
ln -s /usr/lib/yaws "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 "$srcdir/$pkgname.service" \
+ install -Dm644 "$pkgname.service" \
"$pkgdir/usr/lib/systemd/system/$pkgname.service"
+ install -Dm644 "$pkgname-$pkgver/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
diff --git a/community/yaws/yaws.service b/community/yaws/yaws.service
index 7e2ced32d..b0f1ee144 100644
--- a/community/yaws/yaws.service
+++ b/community/yaws/yaws.service
@@ -1,5 +1,5 @@
[Unit]
-Description=A fast lightweight webserver.
+Description=Fast lightweight webserver
After=syslog.target network.target
[Service]