summaryrefslogtreecommitdiff
path: root/community/wvstreams/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/wvstreams/PKGBUILD')
-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"
}