author | Anders Bergh <anders1@gmail.com> |
Mon, 17 Dec 2007 05:37:21 +0000 | |
changeset 7 | c9bd17599375 |
parent 1 | c42d991ddcdb |
child 9 | 02c3c213b8c0 |
permissions | -rw-r--r-- |
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') |
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
|
9 |
depends=(java-runtime unzip) |
1
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
10 |
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
|
11 |
DMDirc.desktop |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
12 |
DMDirc.svg |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
13 |
dmdirc) |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
14 |
md5sums=('f602f44b72907ae209d90c1478e63a5e' |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
15 |
'64058ea0c3861c9246f7eff8f0cdeb62' |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
16 |
'74b7ba9c92da7bd41a0545f103aa99b6' |
c42d991ddcdb
Add utils dir (sync scripts etc will go here)
Anders Bergh <anders1@gmail.com>
parents:
diff
changeset
|
17 |
'0b2e83062e6c6f0a46caf49def957f80') |
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-$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
|
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: |