aboutsummaryrefslogtreecommitdiffstats
path: root/libmicrohttpd/PKGBUILD
blob: 12856284463005d58dcc3b9e53ec8a6e5629e68b (plain) (blame)
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
26
#Maintainer: Zee Eichel  <zee@dracos-linux.org>
#dracOs linux libmicrohttpd package builder

pkgname=libmicrohttpd
pkgver=0.9.63
pkgrel=1
pkgdesc="Small C library that is supposed to make it easy to run an HTTP server"
arch=(x86_64)
url="www.gnupg.org"
license=('GPL')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.63.tar.gz")
sha256sums=("37c36f1be177f0e37ef181a645cd3baac1000bd322a01c2eff70f3cc8c91749c")

build() {
        cd "$pkgname-$pkgver"
        ./configure --prefix=/usr --disable-static
        make
}

package() {
         cd "$pkgname-$pkgver"
         make DESTDIR="$pkgdir" install
         rm -rf $pkgdir/usr/share/man
         }