summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornot_anonymous2020-11-14 17:50:25 -0700
committernot_anonymous2020-11-14 17:50:25 -0700
commitd1b31b4023e95e922a1ada55c6284395cf71209a (patch)
tree4d2fc1283cd171534d9ccedc1c81b779a8bf6bf7 /PKGBUILD
parentd625dec53633277e5910f34928a06260cdff8122 (diff)
downloadaur-d1b31b4023e95e922a1ada55c6284395cf71209a.tar.gz
Updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD83
1 files changed, 54 insertions, 29 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c34757229ec..4b5f604af1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,58 +1,83 @@
-# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Maintainer: not_anonymous <nmlibertarian@gmail.com>
+# PREVIOUS Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# PREVIOUS Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: AqD <aquila.deus@gmail.com>
# Contributor: TheMadsen <arch@themadsens.dk>
pkgname=rapidsvn
pkgver=0.12.1
-pkgrel=12
+pkgrel=13
pkgdesc="A cross-platform GUI front-end for the Subversion revision system written in C++ using the wxWidgets framework."
url='http://rapidsvn.tigris.org/'
arch=('x86_64')
license=('GPL')
depends=('subversion' 'wxgtk3')
-makedepends=('python2')
+makedepends=('python2' 'doxygen')
source=(http://www.rapidsvn.org/download/release/$pkgver/rapidsvn-$pkgver.tar.gz
- $pkgname.desktop rapidsvn-wx3.0.patch rapidsvn-subversion1.9.patch)
+ $pkgname.desktop
+ rapidsvn-wx3.0.patch
+ rapidsvn-subversion1.9.patch
+ rapidsvn-add-svncpp.dox.diff
+ rapidsvn-locale-build.diff
+ rapidsvn-link-libs.diff)
md5sums=('8de3ca6da3ef6a27d59f959d1bbcd96b'
'349e6d9729f88868902611bb1172f134'
'44cdc7e987496e9e331f3dd5b5a871d4'
- '0ffd1fd1fed7ff53578afe92730c80bc')
+ '0ffd1fd1fed7ff53578afe92730c80bc'
+ 'e41f470f97fd721600030cebcc17bb3b'
+ '9fc75740d9b067448500be140a5a30cf'
+ '5ed33e98f5c87e92362a24acb8d20671')
prepare() {
- cd $pkgname-$pkgver
-# Fix build with WxGTK 3 (Debian)
- patch -p1 -i ../rapidsvn-wx3.0.patch
-# Fix assertion at startup
- sed -e '/SetMaxLength(0)/d' -i src/rapidsvn_frame.cpp -i src/report_dlg.cpp
-# Fix build with subversion 1.9 (Debian)
- patch -p1 -i ../rapidsvn-subversion1.9.patch
+ cd $pkgname-$pkgver
+
+ # Fix assertion at startup
+ sed -e '/SetMaxLength(0)/d' -i src/rapidsvn_frame.cpp \
+ -i src/report_dlg.cpp
+
+ # Fix build with WxGTK 3 (Debian)
+ patch -p1 -i ../rapidsvn-wx3.0.patch
+
+ # Fix build with subversion 1.9 (Debian)
+ patch -p1 -i ../rapidsvn-subversion1.9.patch
+
+ # Fix build adding missing svncpp.dox (Debian)
+ patch -p1 -i ../rapidsvn-add-svncpp.dox.diff
+
+ # Fix build v/v wrong conditional (Debian)
+ patch -p1 -i ../rapidsvn-locale-build.diff
+
+ # Fix build v/v linking libsvncpp w/ dep/ libs (Debian)
+ patch -p1 -i ../rapidsvn-link-libs.diff
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
+
+ autoreconf -vi
+
+ export CPPFLAGS+=' -DNDEBUG' # https://bugs.archlinux.org/task/52696
- autoreconf -vi
+ sed -i 's#src/tests/svncpp/Makefile##' configure
+ [ "$NOEXTRACT" == 1 ] || ./configure --prefix=/usr \
+ --with-apu-config="`which apu-1-config`" \
+ --with-apr-config="`which apr-1-config`" \
+ --with-wx-config=/usr/bin/wx-config-gtk3
- export CPPFLAGS+=' -DNDEBUG' # https://bugs.archlinux.org/task/52696
- sed -i 's#src/tests/svncpp/Makefile##' configure
- [ "$NOEXTRACT" == 1 ] || ./configure --prefix=/usr \
- --with-apu-config="`which apu-1-config`" \
- --with-apr-config="`which apr-1-config`" \
- --with-wx-config=/usr/bin/wx-config-gtk3
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' tools/*.py
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' tools/*.py
- sed -i 's|python|python2|' src/locale/Makefile
+ sed -i 's|python|python2|' src/locale/Makefile
- make -k
+ make -k
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
- install -Dm644 src/res/bitmaps/rapidsvn_32x32.xpm "$pkgdir"/usr/share/pixmaps/rapidsvn_32x32.xpm
- install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
+ install -Dm644 src/res/bitmaps/rapidsvn_32x32.xpm \
+ "$pkgdir"/usr/share/pixmaps/rapidsvn_32x32.xpm
+ install -Dm644 ../$pkgname.desktop \
+ "$pkgdir"/usr/share/applications/$pkgname.desktop
}