summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 59fb1a7eb3b3baecbf86a1f1aba3ad6230c17c39 (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: Alireza S.N. <alireza6677 at gmail dot com>

pkgname=webfsd
pkgver=1.21
pkgrel=1
pkgdesc="A simple HTTP server for mostly static content written in C"
arch=("any")
url="https://github.com/ourway/webfsd"
license=("GPL-2.0-or-later")
depends=("openssl")
makedepends=("gcc" "make")
provides=("webfsd")
conflicts=("webfsd")
source=("https://github.com/ourway/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
b2sums=("420177e8e7f0a74e722cf642ed00179a8f42a1ad35a38f9e8852faed866fb8d612c438d6f467df7c8b376d3affc7fb471b96bd048dab29033de6adaf6214e976")

build() {
    cd "${pkgname}-${pkgver}"
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    make install bindir=${pkgdir}/usr/bin mandir=${pkgdir}/usr/share/man
}