diff options
-rw-r--r-- | .AURINFO | 7 | ||||
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 20 insertions, 18 deletions
@@ -1,16 +1,17 @@ pkgbase = http-parser-git pkgdesc = Parser for HTTP Request/Response written in C - pkgver = 2.3.r4.g158dd3b + pkgver = 2.7.1.r13.g5c2d339 pkgrel = 1 - url = https://github.com/joyent/http-parser + url = https://github.com/nodejs/http-parser arch = i686 arch = x86_64 + arch = armv7h license = MIT makedepends = git depends = glibc provides = http-parser conflicts = http-parser - source = http-parser-git::git+https://github.com/joyent/http-parser.git + source = http-parser-git::git+https://github.com/nodejs/http-parser.git pkgname = http-parser-git @@ -1,16 +1,17 @@ pkgbase = http-parser-git pkgdesc = Parser for HTTP Request/Response written in C - pkgver = 2.7.0.r1.gf2c26ee + pkgver = 2.7.1.r13.g5c2d339 pkgrel = 1 - url = https://github.com/joyent/http-parser + url = https://github.com/nodejs/http-parser arch = i686 arch = x86_64 + arch = armv7h license = MIT makedepends = git depends = glibc provides = http-parser conflicts = http-parser - source = http-parser-git::git+https://github.com/joyent/http-parser.git + source = http-parser-git::git+https://github.com/nodejs/http-parser.git md5sums = SKIP pkgname = http-parser-git @@ -1,18 +1,18 @@ # Maintainer: Brian Bidulock <bidulock@openss7.org> pkgname=http-parser-git -pkgver=2.7.0.r1.gf2c26ee +pkgver=2.7.1.r13.g5c2d339 pkgrel=1 pkgdesc="Parser for HTTP Request/Response written in C" -arch=('i686' 'x86_64') -url="https://github.com/joyent/http-parser" +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/nodejs/http-parser" license=('MIT') depends=('glibc') makedepends=('git') conflicts=('http-parser') provides=('http-parser') -source=("$pkgname::git+https://github.com/joyent/http-parser.git") -md5sums=('SKIP') +source=("$pkgname::git+https://github.com/nodejs/http-parser.git") +sha256sums=('SKIP') pkgver() { cd $pkgname @@ -24,9 +24,14 @@ build() { make library } -package() { +check() { cd $pkgname + local CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=2/}" + make test +} +package() { + cd $pkgname install -Dm644 LICENSE-MIT \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT" install -Dm644 AUTHORS \ @@ -34,10 +39,5 @@ package() { install -Dm644 README.md \ "${pkgdir}/usr/share/doc/${pkgname}/README.md" - install -Dm644 http_parser.h "${pkgdir}/usr/include/http_parser.h" - install -Dm644 libhttp_parser.so.2.7.0 "${pkgdir}/usr/lib/libhttp_parser.so.2.7.0" - - ln -sf libhttp_parser.so.2.7.0 "${pkgdir}/usr/lib/libhttp_parser.so.2.7" - ln -sf libhttp_parser.so.2.7.0 "${pkgdir}/usr/lib/libhttp_parser.so.2" - ln -sf libhttp_parser.so.2.7.0 "${pkgdir}/usr/lib/libhttp_parser.so" + make DESTDIR="$pkgdir/" PREFIX="/usr" install } |