summaryrefslogtreecommitdiff
path: root/community/madman/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-11 17:29:20 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-11 17:29:20 +0200
commit7a42705e87e0da5d2417b4293729e3ee1ae3b33c (patch)
tree04aa72c4fdff134e2c5ae9f539e092d5faafe808 /community/madman/PKGBUILD
parente6ced89f44186539d8fedf73b62024aa2214230e (diff)
parent337402b957bab442da9e0d46ee7a8d8f32ede3ce (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/botan/PKGBUILD community/qgo/PKGBUILD community/ragel/PKGBUILD extra/avahi/PKGBUILD extra/kdepim/PKGBUILD extra/libva/PKGBUILD extra/libwnck3/PKGBUILD extra/orc/PKGBUILD extra/python/PKGBUILD extra/python2/PKGBUILD extra/qt3/PKGBUILD
Diffstat (limited to 'community/madman/PKGBUILD')
-rw-r--r--community/madman/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/madman/PKGBUILD b/community/madman/PKGBUILD
index 2a6cc72c7..c5b08cbfc 100644
--- a/community/madman/PKGBUILD
+++ b/community/madman/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 56740 2011-10-11 17:41:27Z spupykin $
+# $Id: PKGBUILD 87994 2013-04-09 21:36:20Z eric $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: Hugo Ideler <hugoideler@dse.nl>
@@ -29,7 +29,6 @@ md5sums=('36e7a4619ebe83ed939c7ae09c16d535'
'685a6fb13c861b82950dd6a77fd02120')
build() {
- . /etc/profile.d/qt3.sh
cd $srcdir/$pkgname-$pkgver.orig
patch -p1 -i $srcdir/madman_0.94beta1.20060611-2.diff
@@ -42,11 +41,17 @@ build() {
,build/release/designer/tsetlistview.h
sed -i '26,1i#include <memory>' utility/base.h
sed -i 's|python|python2|' designer/make_imagedata httpd/make_webdata doc/update_format_tag
- cp $srcdir/fake-g++.sh ./g++
+ install -m755 $srcdir/fake-g++.sh ./g++
export PATH=.:$PATH
- scons
- scons install_to=$pkgdir/usr prefix=/usr install
+ scons qt_directory=/usr/lib/qt3 add_c_include_dirs=/usr/include/qt3
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver.orig
+
+ scons qt_directory=/usr/lib/qt3 add_c_include_dirs=/usr/include/qt3 \
+ install_to=$pkgdir/usr prefix=/usr install
install -Dm644 $srcdir/madman_logo.png $pkgdir/usr/share/icons/madman_logo.png
install -Dm644 $srcdir/madman_logo_mini.png $pkgdir/usr/share/icons/mini/madman_logo_mini.png