summaryrefslogtreecommitdiff
path: root/extra/spassgen/PKGBUILD
blob: 858de7df22ba65bb9f715548b06334970a5caa8f (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 'mips64el')
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
 }