[arch-commits] Commit in http-parser/repos (4 files)

Felix Yan fyan at archlinux.org
Wed Feb 10 10:26:32 UTC 2016


    Date: Wednesday, February 10, 2016 @ 11:26:31
  Author: fyan
Revision: 161039

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  http-parser/repos/community-staging-i686/
  http-parser/repos/community-staging-i686/PKGBUILD
    (from rev 161038, http-parser/trunk/PKGBUILD)
  http-parser/repos/community-staging-x86_64/
  http-parser/repos/community-staging-x86_64/PKGBUILD
    (from rev 161038, http-parser/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   39 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   39 ++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: http-parser/repos/community-staging-i686/PKGBUILD (from rev 161038, http-parser/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-02-10 10:26:31 UTC (rev 161039)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=http-parser
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="Parser for HTTP Request/Response written in C"
+arch=('i686' 'x86_64')
+url="https://github.com/joyent/http-parser"
+license=('MIT')
+depends=('glibc')
+makedepends=('git')
+source=("$pkgname::git+https://github.com/joyent/http-parser.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  sed -i 's|-Werror||' $pkgname/Makefile
+}
+
+build() {
+  cd $pkgname
+  make library
+}
+
+check() {
+  cd $pkgname
+  make test
+}
+
+package() {
+  cd $pkgname
+  make PREFIX="$pkgdir/usr" install
+
+  install -Dm644 LICENSE-MIT \
+        "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+
+  ln -sf libhttp_parser.so.$pkgver "${pkgdir}/usr/lib/libhttp_parser.so"
+}

Copied: http-parser/repos/community-staging-x86_64/PKGBUILD (from rev 161038, http-parser/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-02-10 10:26:31 UTC (rev 161039)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+
+pkgname=http-parser
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="Parser for HTTP Request/Response written in C"
+arch=('i686' 'x86_64')
+url="https://github.com/joyent/http-parser"
+license=('MIT')
+depends=('glibc')
+makedepends=('git')
+source=("$pkgname::git+https://github.com/joyent/http-parser.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  sed -i 's|-Werror||' $pkgname/Makefile
+}
+
+build() {
+  cd $pkgname
+  make library
+}
+
+check() {
+  cd $pkgname
+  make test
+}
+
+package() {
+  cd $pkgname
+  make PREFIX="$pkgdir/usr" install
+
+  install -Dm644 LICENSE-MIT \
+        "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
+
+  ln -sf libhttp_parser.so.$pkgver "${pkgdir}/usr/lib/libhttp_parser.so"
+}



More information about the arch-commits mailing list