summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ececa718e50023282594590d8dead2022a9d9066 (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
# Maintainer: Xunhua Guo <xunhua.guo@gmail.com>

pkgname=jdom
pkgver=2.0.6.1
pkgrel=1
pkgdesc="Easy-to-use Java XML parser"
arch=('any')
url="http://www.jdom.org/downloads/"
license=('custom')
depends=('java-runtime')
provides=('jdom' 'jdom2')
source=("http://www.jdom.org/dist/binary/jdom-${pkgver}.zip")

sha256sums=("1c870864a9f92f71920d4429ed683225f9c85541fb49eaa99341c86baec5c42f")

package() {
    install -D -m755 \
	"${srcdir}/jdom-${pkgver}.jar" \
	"${pkgdir}/usr/share/java/${pkgname}/jdom-${pkgver}.jar"
    install -D -m644 LICENSE.txt \
	"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    ln -s "/usr/share/java/${pkgname}/jdom-${pkgver}.jar" \
	"${pkgdir}/usr/share/java/${pkgname}/jdom.jar"
}