blob: 653a51f570e555a0fee8b28953e73685f0f4a262 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $Id: PKGBUILD 77993 2010-04-19 08:07:51Z dgriffiths $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
pkgname=spassgen
pkgver=1.5
pkgrel=7
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
}
|