summaryrefslogtreecommitdiff
path: root/community/wvstreams
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
committerroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
commitcc57cb201ddb179d2bb481c13dd4f286ae643b12 (patch)
tree7932470d6b8a193c032f1012a7996cc78ea52201 /community/wvstreams
parent1f86bf1b08cb980cea57c1d4d3187e2251f5a63b (diff)
Tue Jun 4 00:27:56 PDT 2013
Diffstat (limited to 'community/wvstreams')
-rw-r--r--community/wvstreams/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/community/wvstreams/PKGBUILD b/community/wvstreams/PKGBUILD
index 02488b789..eb5b48e7f 100644
--- a/community/wvstreams/PKGBUILD
+++ b/community/wvstreams/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 75083 2012-08-13 16:55:40Z bluewind $
+# $Id: PKGBUILD 92257 2013-06-03 11:15:30Z allan $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=wvstreams
pkgver=4.6.1
-pkgrel=5
+pkgrel=6
pkgdesc="A network programming library written in C++"
arch=('i686' 'x86_64')
url="http://alumnit.ca/wiki/?page=WvStreams"
@@ -19,14 +19,19 @@ md5sums=('2760dac31a43d452a19a3147bfde571c'
'df423c68134a09439b3961c34635e0b4')
options=('!makeflags')
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+prepare() {
+ cd ${pkgname}-${pkgver}
patch -p0 -i "$srcdir/wvstreams-4.6.1-glibc212.patch"
patch -p0 -i "$srcdir/wvstreams-4.6.1-gcc47.patch"
patch -p1 -i "$srcdir/openssl-buildfix.patch"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
+ --sbin=/usr/bin \
--sysconfdir=/etc \
--localstatedir=/var \
--without-dbus \
@@ -38,12 +43,12 @@ build() {
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
# FS#15974
# --without-dbus still installs the pkg-config file
- rm ${pkgdir}/usr/lib/pkgconfig/libwvdbus.pc
+ rm "${pkgdir}/usr/lib/pkgconfig/libwvdbus.pc"
# --without-qt still installs the pkg-config file
- rm ${pkgdir}/usr/lib/pkgconfig/libwvqt.pc
+ rm "${pkgdir}/usr/lib/pkgconfig/libwvqt.pc"
}