sources/dmdirc/PKGBUILD
author Anders Bergh <anders1@gmail.com>
Mon, 17 Dec 2007 07:41:21 +0100
changeset 9 02c3c213b8c0
parent 7 c9bd17599375
permissions -rw-r--r--
makedepends for unzip, not depends
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     1
# Contributor: Anders Bergh <anders1@gmail.com>
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     2
pkgname=dmdirc
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     3
pkgver=0.5.1
7
c9bd17599375 add unzip to the list of depends for the dmdirc package. pacman needs them so it can unpack the .jar's (which is totally unnecessary)
Anders Bergh <anders1@gmail.com>
parents: 1
diff changeset
     4
pkgrel=3
1
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     5
pkgdesc="DMDirc is a cross-platform IRC client written in Java."
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     6
arch=(i686 x86_64)
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     7
url="http://www.dmdirc.com/en/"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
     8
license=('MIT')
9
02c3c213b8c0 makedepends for unzip, not depends
Anders Bergh <anders1@gmail.com>
parents: 7
diff changeset
     9
depends=(java-runtime)
02c3c213b8c0 makedepends for unzip, not depends
Anders Bergh <anders1@gmail.com>
parents: 7
diff changeset
    10
makedepends=(unzip)
1
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    11
source=(http://dmdirc.googlecode.com/files/DMDirc-$pkgver.jar
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    12
        DMDirc.desktop
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    13
        DMDirc.svg
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    14
        dmdirc)
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    15
md5sums=('f602f44b72907ae209d90c1478e63a5e'
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    16
         '64058ea0c3861c9246f7eff8f0cdeb62'
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    17
         '74b7ba9c92da7bd41a0545f103aa99b6'
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    18
         '0b2e83062e6c6f0a46caf49def957f80')
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    19
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    20
build() {
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    21
  cd "$startdir/src"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    22
  mkdir -p "$startdir/pkg/usr/share/java/dmdirc"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    23
  mkdir -p "$startdir/pkg/usr/share/applications"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    24
  mkdir -p "$startdir/pkg/usr/bin"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    25
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    26
  install -m644 DMDirc-$pkgver.jar "$startdir/pkg/usr/share/java/dmdirc/DMDirc.jar"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    27
  install -m644 DMDirc.svg "$startdir/pkg/usr/share/java/dmdirc"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    28
  install -m644 DMDirc.desktop "$startdir/pkg/usr/share/applications"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    29
  install -m755 dmdirc "$startdir/pkg/usr/bin"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    30
}
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    31
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    32
# vim:set ts=2 sw=2 et: