archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / jlatexmath / repos / community-any / PKGBUILD
blob16c9fa0bb0c1b3585228483e97b86cb645cf10d6
1 # Maintainer: Jiachen YANG <farseerfc@gmail.com>
2 # Contributor: Victor Dmitriyev <mrvvitek@gmail.com>
3 # Contributor: Alucryd <alucryd at gmail dot com>
4 # Contributor: Thomas Dziedzic < gostrc at gmail >
5 # Contributor: Stefan Husmann <stefan-husmann at t-online dot de>
7 pkgname='jlatexmath'
8 pkgver='1.0.7'
9 pkgrel='2'
10 pkgdesc='Java API to display mathematical formulas written in LaTeX'
11 arch=('any')
12 url='https://github.com/opencollab/jlatexmath'
13 license=('custom:GPL2')
14 depends=('java-runtime')
15 # signing key isn't mentioned anywhere, although
16 source=(
17 "https://repo1.maven.org/maven2/org/scilab/forge/${pkgname}/${pkgver}/${pkgname}-${pkgver}.jar"{,.asc}
18 "${pkgname}-LICENSE::https://github.com/opencollab/jlatexmath/raw/${pkgver}/jlatexmath/LICENSE"
20 noextract=("${pkgname}-${pkgver}.jar")
21 # md5 and sha1 sums are in the maven repository
22 md5sums=('e4babd85c718a43b210808fd273de910'
23          'SKIP'
24          'SKIP')
25 sha1sums=('cf9786b1d813a64a4ad04befc0dae48b9cde8edb'
26           'SKIP'
27           'SKIP')
28 sha256sums=('6d04c3843fc98d2eea9ba4cff0be7b80540ca75c5a4e0b3463fd1219c48cc65d'
29             'SKIP'
30             '55a1524c2889cd2e2cdc9c345090973798782923e0dc022cb7e55e0dc2ba6e2a')
31 validpgpkeys=('531C276EDBD23014F325C4767BDB188864BB6E71') # David Moten
33 package() {
34   install -Dm644 "${srcdir}/${pkgname}-${pkgver}.jar" \
35     "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
36   install -Dm644 "${srcdir}/${pkgname}-LICENSE" \
37     "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
40 # vim:set ts=2 sw=2 et: