From 4525bb3909f233fd13dbfb43aa6ff4e64e8340d9 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 5 Nov 2013 00:47:11 -0800 Subject: Tue Nov 5 00:46:51 PST 2013 --- community/yaws/PKGBUILD | 25 ++++++++++++------------- community/yaws/yaws.service | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) (limited to 'community/yaws') 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 # Maintainer: Vesa Kaihlavirta # Contributor: Patrick Smits 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] -- cgit v1.2.3-54-g00ecf