PKGBUILDs/community/icewm-utils/PKGBUILD
2009-10-09 21:15:33 -05:00

96 lines
3.2 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Dominika Solarz <dominikasolarz@gmail.com>
pkgname=icewm-utils
pkgver=1.0
_mcver=2.1
_tsver=1.4
_bgsetver=1.3
_kedver=1.5
_woedver=1.8
_sndcfgver=1.3
_ccver=2.9
_cursorscfgver=0.6
_iconcvtver=1.0
_rrunver=0.5
_mergeprefsver=0.5
pkgrel=3
pkgdesc="Suite of tools for IceWM"
arch=(i686 x86_64)
license=("GPL")
url="http://icecc.sourceforge.net/"
depends=('qt3' 'python')
optdepends=('pyqt3' 'gvim')
source=("http://downloads.sourceforge.net/icecc/icemc-$_mcver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icets-$_tsver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icebgset-$_bgsetver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/iceked-$_kedver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icewoed-$_woedver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icesndcfg-$_sndcfgver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icecc-$_ccver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icecursorscfg-$_cursorscfgver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/iceiconcvt-$_iconcvtver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icerrun-$_rrunver.tar.bz2"
"http://downloads.sourceforge.net/sourceforge/icecc/icemergeprefs-$_mergeprefsver.tar.bz2")
md5sums=('cb2afc6efaa0f9d77b0119b29d528667'
'1d87c93f5cb27da16c90f47531b7fb21'
'7086b771fc7877369924affc5b5f5e41'
'47761a8dc59880ddda2a00de9cd187f5'
'518f05c02cb24a7e36715ce0d0672c8e'
'2113c524ebbbf38ce7eb174b9997c202'
'e3ddbb3536941745435f727053816865'
'000ec299a83dbae269f2f335910bd50e'
'64463287b6c535b31cb2823d97bfe299'
'cea2fd7726b9f01b080e3861d325ec24'
'b34931566da118e7a14ddcb529e739c6')
build() {
mkdir -p $startdir/pkg/usr/bin
. /etc/profile.d/qt3.sh
export PATH=/opt/qt/bin:$PATH
cd $startdir/src/icemc-$_mcver
qmake
make || return 1
cp icemc $startdir/pkg/usr/bin/ || return 1
cd $startdir/src/icets-$_tsver
qmake
make || return 1
cp icets $startdir/pkg/usr/bin/ || return 1
cd $startdir/src/icebgset-$_bgsetver
qmake
make || return 1
cp icebgset $startdir/pkg/usr/bin/ || return 1
cd $startdir/src/iceked-$_kedver
qmake
make || return 1
cp iceked $startdir/pkg/usr/bin/ || return 1
cd $startdir/src/icecc-$_ccver
qmake
make || return 1
cp icecc $startdir/pkg/usr/bin/ || return 1
cd $startdir/src/icesndcfg-$_sndcfgver
qmake
make || return 1
cp icesndcfg $startdir/pkg/usr/bin/ || return 1
cd $startdir/src/icewoed-$_woedver
qmake
make || return 1
cp icewoed $startdir/pkg/usr/bin/ || return 1
cp $startdir/src/icecursorscfg-$_cursorscfgver/icecurcfg.py $startdir/pkg/usr/bin/icecurcfg && \
cp $startdir/src/iceiconcvt-$_iconcvtver/iceiconcvt.py $startdir/pkg/usr/bin/iceiconcvt && \
cp $startdir/src/icemergeprefs-$_mergeprefsver/icemergeprefs.py $startdir/pkg/usr/bin/icemergeprefs && \
cp $startdir/src/icerrun-$_rrunver/icerrun.py $startdir/pkg/usr/bin/icerrun && \
cp $startdir/src/icerrun-$_rrunver/icerrrun.py $startdir/pkg/usr/bin/icerrrun
}