commuity/yaws to 1.97-1

This commit is contained in:
WarheadsSE 2013-11-04 07:12:30 -05:00
parent 2309fa5e47
commit 6303b20e57
2 changed files with 11 additions and 12 deletions

View file

@ -7,20 +7,20 @@
# - remove -m32 command from configure
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-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"
@ -44,14 +44,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:

View file

@ -1,5 +1,5 @@
[Unit]
Description=A fast lightweight webserver.
Description=Fast lightweight webserver
After=syslog.target network.target
[Service]