# $Id: PKGBUILD 35908 2009-04-18 06:36:21Z eric $ # Maintainer : Tobias Powalowski pkgname=spassgen pkgver=1.5 pkgrel=6 pkgdesc="A small program that generates passwords" arch=(i686 x86_64) url="http://spassgen.sourceforge.net/" license=('GPL2') depends=('qt3') options=('!makeflags') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('ed019dda56551fb860c74016baa91fa4') build() { cd $srcdir/$pkgname . /etc/profile.d/qt3.sh qmake -project spassgen.pro || return 1 qmake || return 1 make || return 1 install -d $pkgdir/opt/kde/{bin,share/icons/crystalsvg} install -m755 spassgen $pkgdir/opt/kde/bin/spassgen || return 1 cd icons cp -r * $pkgdir/opt/kde/share/icons/crystalsvg || return 1 rm -r $pkgdir/opt/kde/share/icons/crystalsvg/16x16/.xvpics }