summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGianluca Boiano2020-12-02 22:20:52 +0100
committerGianluca Boiano2020-12-02 22:20:52 +0100
commit609939706bee207e279c5f15b01f98a5e6c47336 (patch)
treee180af2d19a964c258627a33c2b97c3e557ea06b /PKGBUILD
parent9a9003a823c6f24a421dab4ca925b1b4849b4e9a (diff)
downloadaur-apache-mime4j.tar.gz
apache-mime4j: 0.8.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2e947e21cfc..80b45df0639 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,10 +11,10 @@ depends=('java-runtime')
source=("https://downloads.apache.org/james/mime4j/${pkgver}/${pkgname}-${pkgver}-bin.tar.gz")
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"/lib
- mkdir -p ${pkgdir}/usr/share/java/${pkgname}
- chmod +r *.jar
- cp *.jar $pkgdir/usr/share/java/${pkgname}
+ 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
}
-md5sums=('ba4a77bb6c66292a5eadfb82c2c46f2c')
+sha256sums=('06acb2fd2e45e80d67d9c04dc38e9694d9d7d3acbbe9e3bd3813153da38c4205')