summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 80b45df06394dbdc71d74227134f46c0f1fea55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: robertfoster

pkgname=apache-mime4j
pkgver=0.8.3
pkgrel=1
pkgdesc="Apache JAMES Mime4j"
arch=('i686' 'x86_64')
url="http://james.apache.org/"
license=("Apache")
depends=('java-runtime')
source=("https://downloads.apache.org/james/mime4j/${pkgver}/${pkgname}-${pkgver}-bin.tar.gz")

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -dm755 "${pkgdir}/usr/share/java/${pkgname}"
  cp lib/*.jar "$pkgdir/usr/share/java/${pkgname}"
  chmod +r "$pkgdir/usr/share/java/${pkgname}"/*.jar
}

sha256sums=('06acb2fd2e45e80d67d9c04dc38e9694d9d7d3acbbe9e3bd3813153da38c4205')