updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / upm / PKGBUILD
bloba03dc775327c021b6d0b2e9d714812359699e3c1
1 # Contributor: Filipp Andjelo <scorp@mauilueberfall.de>
3 pkgname=upm
4 pkgver=1.6
5 pkgrel=1
6 pkgdesc="Universal Password Manager"
7 arch=('any')
8 url="http://upm.sourceforge.net/"
9 depends=('java-environment>=6')
10 license=("GPL")
11 install="upm.install"
12 source=(http://downloads.sourceforge.net/project/upm/UPM/upm-${pkgver}/upm-${pkgver}.tar.gz
13         upm.sh upm.png upm.desktop)
14 md5sums=('5abfdf030be502f23925be53ba0b7201'
15          '0f5aa8fe52fc3b8eed3d2fed4720131a'
16          '1ef909f44ed71b629a78339fe566b4f8'
17          '0cf9105552094b73ee2bce663642020d')
19 package() {
21   # Create directories
22   install -m755 -d ${pkgdir}/usr/bin
23   install -m755 -d ${pkgdir}/usr/share/upm/server/http
24   install -m755 -d ${pkgdir}/usr/share/icons/hicolor/128x128/apps
25   install -m755 -d ${pkgdir}/usr/share/applications
26   
27   # Install files
28   install -m644  ${srcdir}/upm-${pkgver}/*.txt ${pkgdir}/usr/share/upm
29   install -m644  ${srcdir}/upm-${pkgver}/*.jar ${pkgdir}/usr/share/upm
30   install -m644  ${srcdir}/upm-${pkgver}/server/http/*.php ${pkgdir}/usr/share/upm/server/http
31   install -m755  ${srcdir}/upm.sh ${pkgdir}/usr/bin/upm
32   install -m644  ${srcdir}/upm.png ${pkgdir}/usr/share/icons/hicolor/128x128/apps
33   install -m644  ${srcdir}/upm.desktop ${pkgdir}/usr/share/applications