sources/dmdirc-nightly/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-nightly
4
946a11dbdb23 update the dmdirc-nightly date
Anders Bergh <anders1@gmail.com>
parents: 1
diff changeset
     3
pkgver=20071217
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: 4
diff changeset
     4
pkgrel=2
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://www.dmdirc.com/nightly/DMDirc_latest.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
provides=('dmdirc')
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    16
conflicts=('dmdirc')
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    17
md5sums=()
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    18
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    19
build() {
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    20
  cd "$startdir/src"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    21
  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
    22
  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
    23
  mkdir -p "$startdir/pkg/usr/bin"
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    24
c42d991ddcdb Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff changeset
    25
  install -m644 DMDirc_latest.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
    26
  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
    27
  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
    28
  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
    29
}
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
# vim:set ts=2 sw=2 et: