summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea41a2f20b85563d1c24285dbea01ba8df702d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: dacoit <dacoit at tuta.io>
# Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
# Contributor: Evan Gates <evan.gates at gmail dot com>
# Contributor: Vardyr <vardyr.al at insocada dot com>

pkgname=woof
pkgver=20120531
pkgrel=1
pkgdesc='An ad-hoc single file webserver; Web Offer One File'
arch=('any')
url='http://www.home.unix-ag.org/simon/woof.html'
license=('GPL2')
depends=('python2')
conflicts=('woof-python3')
source=("http://www.home.unix-ag.org/simon/$pkgname")
md5sums=('89081e64362421dcb683a19c10a15e59')

prepare() {
    sed -i 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|' "$pkgname"
}

package() {
    install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}