summaryrefslogtreecommitdiff
path: root/extra/spassgen
diff options
context:
space:
mode:
Diffstat (limited to 'extra/spassgen')
-rw-r--r--extra/spassgen/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/spassgen/PKGBUILD b/extra/spassgen/PKGBUILD
new file mode 100644
index 000000000..653a51f57
--- /dev/null
+++ b/extra/spassgen/PKGBUILD
@@ -0,0 +1,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
+ }