summaryrefslogtreecommitdiff
path: root/community/yaws/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/yaws/PKGBUILD')
-rw-r--r--community/yaws/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/yaws/PKGBUILD b/community/yaws/PKGBUILD
index caca5f8c7..f88fe5655 100644
--- a/community/yaws/PKGBUILD
+++ b/community/yaws/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 80662 2012-11-28 22:06:10Z arodseth $
+# $Id: PKGBUILD 80743 2012-12-01 19:51:02Z arodseth $
# Maintainer: Vesa Kaihlavirta
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Patrick Smits <mail@patricksmits.net>
pkgname=yaws
pkgver=1.95
-pkgrel=1
+pkgrel=3
pkgdesc='Yet Another Web Server, pure Erlang HTTP server/framework'
arch=('x86_64' 'i686' 'mips64el')
url='http://yaws.hyber.org/'
@@ -13,8 +14,10 @@ depends=('pam' 'erlang')
backup=('etc/yaws/yaws.conf')
options=('!emptydirs')
install=$pkgname.install
-source=("http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz")
-sha256sums=('e4efae836561f5e8a1324a5c9ab63fb82468e9dc93dc95cb4cb6248ab6b95406')
+source=("http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz"
+ "$pkgname.service")
+sha256sums=('e4efae836561f5e8a1324a5c9ab63fb82468e9dc93dc95cb4cb6248ab6b95406'
+ 'cce672e0bc73f536186bdbb8ac139d8000db4bd67f5fdeff84fdc4b4f8bd84f9')
build() {
cd "$pkgname-$pkgver"
@@ -34,6 +37,8 @@ package() {
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" \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
}
# vim:set ts=2 sw=2 et: