blob: 69fc9d866ecc8b10019c0df29e1ed970e074c2cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Adam Hani Schakaki <krzd@krzd.net>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=j
pkgver=0.23.0
pkgrel=3
pkgdesc="A text editor written in Java"
arch=('any')
url="http://armedbear-j.sourceforge.net/"
license=('GPL')
depends=('java-runtime')
source=(https://downloads.sourceforge.net/armedbear-$pkgname/$pkgname-$pkgver-bin.tar.gz \
$pkgname.sh)
md5sums=('a62293bae068e85acbec3ff18f7a13e9'
'935cb24add285bab83f71011aadf93fd')
package() {
cd $pkgname-$pkgver
# install jar file
install -Dm644 $pkgname.jar "$pkgdir"/usr/share/java/$pkgname/$pkgname.jar
# install other stuff
install -m755 -d "$pkgdir"/usr/share/{doc/$pkgname,$pkgname/examples,$pkgname/themes}
install -m644 doc/* "$pkgdir"/usr/share/doc/$pkgname
install -m644 examples/* "$pkgdir"/usr/share/$pkgname/examples/
install -m644 themes/* "$pkgdir"/usr/share/$pkgname/themes/
# install launcher
install -Dm755 ../$pkgname.sh "$pkgdir"/usr/bin/$pkgname
}
|