blob: ebfc52a286a33fac208c821cec100bc985312d3a (
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
26
27
28
29
|
# Maintainer: Max Lübke <maxluebke(at)gmail.com>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=libhtp
pkgver=0.5.49
pkgrel=1
pkgdesc="Security-aware parser for the HTTP protocol and the related bits and pieces."
arch=('i686' 'x86_64')
url="https://github.com/OISF/libhtp"
license=('BSD-3-Clause')
depends=('zlib')
source=($pkgname-$pkgver.tar.gz::https://github.com/ironbee/$pkgname/archive/$pkgver.tar.gz)
sha256sums=('214395f8b42011154e133dfb4e94d15e4e3e3e12535e744a4c1eec8687d12c18')
build() {
cd "${srcdir}"/$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
|