summaryrefslogtreecommitdiff
path: root/community/icewm-utils/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/icewm-utils/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/icewm-utils/PKGBUILD')
-rw-r--r--community/icewm-utils/PKGBUILD52
1 files changed, 25 insertions, 27 deletions
diff --git a/community/icewm-utils/PKGBUILD b/community/icewm-utils/PKGBUILD
index 360a1f82f..cb8825e45 100644
--- a/community/icewm-utils/PKGBUILD
+++ b/community/icewm-utils/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 58602 2011-11-16 15:27:25Z spupykin $
+# $Id: PKGBUILD 87991 2013-04-09 21:31:23Z eric $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Dominika Solarz <dominikasolarz@gmail.com>
@@ -50,11 +50,6 @@ md5sums=('cb2afc6efaa0f9d77b0119b29d528667'
'5116da930c0063dd8c478dd8e473b08f')
build() {
- mkdir -p $pkgdir/usr/bin
-
- . /etc/profile.d/qt3.sh
- export PATH=/opt/qt/bin:$PATH
-
cd $srcdir
# fix default global path to IceWM
for file in icewoed-$_woedver/qcentralwidget.cpp \
@@ -73,40 +68,43 @@ build() {
(cd icets-$_tsver && patch -p0 <$srcdir/icets-fix-icewmtray-crash.diff)
cd $srcdir/icemc-$_mcver
- qmake
- make
- cp icemc $pkgdir/usr/bin/
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
cd $srcdir/icets-$_tsver
- qmake
- make
- cp icets $pkgdir/usr/bin/
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
cd $srcdir/icebgset-$_bgsetver
- qmake
- make
- cp icebgset $pkgdir/usr/bin/
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
cd $srcdir/iceked-$_kedver
- qmake
- make
- cp iceked $pkgdir/usr/bin/
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
cd $srcdir/icecc-$_ccver
- qmake
- make
- cp icecc $pkgdir/usr/bin/
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
cd $srcdir/icesndcfg-$_sndcfgver
- qmake
- make
- cp icesndcfg $pkgdir/usr/bin/
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
cd $srcdir/icewoed-$_woedver
- qmake
- make
- cp icewoed $pkgdir/usr/bin/
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+}
+package() {
+ mkdir -p $pkgdir/usr/bin
+ cp $srcdir/icemc-$_mcver/icemc $pkgdir/usr/bin/
+ cp $srcdir/icets-$_tsver/icets $pkgdir/usr/bin/
+ cp $srcdir/icebgset-$_bgsetver/icebgset $pkgdir/usr/bin/
+ cp $srcdir/iceked-$_kedver/iceked $pkgdir/usr/bin/
+ cp $srcdir/icecc-$_ccver/icecc $pkgdir/usr/bin/
+ cp $srcdir/icesndcfg-$_sndcfgver/icesndcfg $pkgdir/usr/bin/
+ cp $srcdir/icewoed-$_woedver/icewoed $pkgdir/usr/bin/
cp $srcdir/icecursorscfg-$_cursorscfgver/icecurcfg.py $pkgdir/usr/bin/icecurcfg
cp $srcdir/iceiconcvt-$_iconcvtver/iceiconcvt.py $pkgdir/usr/bin/iceiconcvt
cp $srcdir/icemergeprefs-$_mergeprefsver/icemergeprefs.py $pkgdir/usr/bin/icemergeprefs