aboutsummaryrefslogtreecommitdiffstats
path: root/community/libevhtp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-05 19:49:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-05 19:49:53 +0000
commite6696c45efab0a838d3697081dc461cd7752ea84 (patch)
treefabdd1cadbc632d84ea69936928a22ba4815ae5e /community/libevhtp/APKBUILD
parent26e7a7c6ff609fe93d72fa6da71cfaac5e720d01 (diff)
downloadaports-e6696c45efab0a838d3697081dc461cd7752ea84.tar.bz2
aports-e6696c45efab0a838d3697081dc461cd7752ea84.tar.xz
community/libevhtp: fix upstream source url
Diffstat (limited to 'community/libevhtp/APKBUILD')
-rw-r--r--community/libevhtp/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/libevhtp/APKBUILD b/community/libevhtp/APKBUILD
index a36f573c25..e0e6e505f7 100644
--- a/community/libevhtp/APKBUILD
+++ b/community/libevhtp/APKBUILD
@@ -8,14 +8,14 @@ url="https://github.com/ellzey/libevhtp/"
arch="all"
license="BSD"
makedepends="cmake libevent-dev libressl-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/ellzey/libevhtp/archive/${pkgver}.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/criticalstack/libevhtp/archive/$pkgver.tar.gz"
subpackages="$pkgname-dev"
-_builddir="${srcdir}/${pkgname}-${pkgver}"
+builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local pf
- cd "${_builddir}"
+ cd "${builddir}"
for pf in $source; do
case $pf in
*.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;;
@@ -24,7 +24,7 @@ prepare() {
}
build() {
- cd "${_builddir}"
+ cd "${builddir}"
cmake -DCUSTOM_BINDIR=/usr/bin \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCUSTOM_DOCDIR="/usr/share/doc/${pkgname}" \
@@ -34,10 +34,8 @@ build() {
}
package() {
- cd "${_builddir}"
+ cd "${builddir}"
make DESTDIR="${pkgdir}" install || return 1
}
-md5sums="38e11f0623ce13c01ce7626d11ddffd1 libevhtp-1.2.11n.tar.gz"
-sha256sums="ae114300659267c7e5f9805ba15f7e3f3461613371f38e3f84520a1703146afd libevhtp-1.2.11n.tar.gz"
sha512sums="cfa84e9b2b29b3c0808edbf50a8d63ad0b4a6f59abebdbf8f34146c288c8ecdc0434370ae77bd611dcc8733456bccc365f1c59fc132a594af9e91c68c3d58ee7 libevhtp-1.2.11n.tar.gz"