blob: d330ced0e2b96b8524a86b7aae1c5ee16dd99966 (
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
43
|
# Maintainer: Valeri Nistor <nistor dot valeri at gmail dot com>
pkgname=cubrid
pkgver=10.1.2
_buildver=7694-64632b2
pkgrel=1
pkgdesc='Comprehensive open source relational database management system highly optimized for Web Applications'
url='http://cubrid.org/'
arch=('x86_64')
license=('GPLv2')
depends=('ncurses5-compat-libs')
install=cubrid.install
source=(http://ftp.cubrid.org/CUBRID_Engine/${pkgver}/CUBRID-${pkgver}.${_buildver}-Linux.${arch}.tar.gz
cubrid.service
cubrid-database@.service
cubrid.install
cubrid.sh
cubrid.csh)
md5sums=('1404d7f0976e2393dfaa3d499fee05c5'
'7f4c8785860bfd9063da18caef2a6e2c'
'226da8427bfc5d2d9ef6a734c9f00e71'
'212cc0285c504c2c6e206c0d721289c4'
'7a366cc938717249b7cc0114ff98dfa3'
'1de08824d0136935b1c4d1fadd4912d8')
package() {
install -dm755 "$pkgdir/opt/${pkgname}"
cp -R "$srcdir"/CUBRID/* "$pkgdir/opt/${pkgname}"
# install profile.d script
install -dm755 "${pkgdir}"/etc/profile.d
install -m755 "${srcdir}"/cubrid.{csh,sh} "${pkgdir}"/etc/profile.d/
# add cubrid service files
install -Dm 644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -Dm 644 "${srcdir}/${pkgname}-database@.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}-database@.service"
# add cubrid library path to ld.so.conf.d
install -d "${pkgdir}/etc/ld.so.conf.d"
echo "/opt/${pkgname}/lib" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
}
|