blob: 10eaed32ef2c9bb6bd927f3ac0d7cf5dfc5f9c0b (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Maintainer: Alexander Boyko <4le34n at gmail dot com>
pkgname=activemq
pkgver=5.15.8
pkgrel=2
pkgdesc="Popular and powerful open source messaging and Integration Patterns provider"
arch=('x86_64')
url="http://activemq.apache.org"
license=('Apache 2.0')
depends=('java-runtime' 'lsb-release')
source=("http://archive.apache.org/dist/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"
profile.sh
profile.csh
service)
options=(!strip)
install=install
package() {
install -dm0755 "${pkgdir}/opt"
install -dm0755 "${pkgdir}/usr/share/doc"
install -dm0755 "${pkgdir}/usr/share/activemq"
install -dm0755 "${pkgdir}/usr/share/webapps"
install -dm0755 "${pkgdir}/usr/share/licenses/activemq"
mv apache-${pkgname}-${pkgver}/docs "${pkgdir}/usr/share/doc/activemq/"
mv apache-${pkgname}-${pkgver}/examples "${pkgdir}/usr/share/activemq/"
mv apache-${pkgname}-${pkgver}/webapps "${pkgdir}/usr/share/webapps/activemq"
mv apache-${pkgname}-${pkgver}/webapps-demo "${pkgdir}/usr/share/webapps/activemq-demo"
mv apache-${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/activemq/"
mv apache-${pkgname}-${pkgver}/NOTICE "${pkgdir}/usr/share/licenses/activemq/"
mv apache-${pkgname}-${pkgver}/README.txt "${pkgdir}/usr/share/doc/activemq/"
install -D -m0755 profile.sh "${pkgdir}/etc/profile.d/activemq.sh"
install -D -m0755 profile.csh "${pkgdir}/etc/profile.d/activemq.csh"
install -D -m0644 service "${pkgdir}/usr/lib/systemd/system/activemq.service"
mv apache-${pkgname}-${pkgver} "${pkgdir}/opt/activemq"
ln -s /usr/share/webapps/activemq "${pkgdir}/opt/activemq/webapps"
rm -rf "${pkgdir}/opt/activemq/bin/macosx"
}
md5sums=('34953879861620df2680888a1c44b410'
'0a1b2ac8850b833a5926f393069eee72'
'86a4b3f9117acb83ba653859b053f966'
'de9fbd35fc09dca2a89d6ac151d19dd6')
|