blob: e26ce2f9faa530212f60d7b4baff13ea4deb3d34 (
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
|
#Maintainer: Viktor Semykin thesame.ml@gmail.com
pkgname=mongodb36-bin
pkgver=3.6.23
pkgrel=1
pkgdesc="Scalable and flexible document database"
arch=("x86_64")
url="https://www.mongodb.com/"
license=('custom:SSPL')
provides=("mongodb=$pkgver" "mongodb-tools=$pkgver")
conflicts=("mongodb" "mongodb-tools")
source=(
"https://fastdl.mongodb.org/linux/mongodb-linux-$arch-$pkgver.tgz"
"mongodb.service"
"mongodb.conf"
"mongodb.sysusers"
"mongodb.tmpfiles"
)
md5sums=('7d6c6d7a37de204f5bc7b5a0a0a273f0'
'96ab4517b48974ce0e566d9746a75a4f'
'4839fe1d638187ca3226e8267b947318'
'ff773b723f7bf217c2a8176e3b143498'
'c599936e8858aeba31dc06cc3ff88612')
backup=("etc/mongodb.conf")
package() {
mkdir -p "$pkgdir/usr"
install -Dm644 "$srcdir/mongodb-linux-$arch-$pkgver/LICENSE-Community.txt" "$pkgdir/usr/share/licenses/$pkgname/SSPL"
cp -r "$srcdir/mongodb-linux-$arch-$pkgver/bin" "$pkgdir/usr/"
install -Dm644 "$srcdir/mongodb.conf" "$pkgdir/etc/mongodb.conf"
install -Dm644 "$srcdir/mongodb.service" "$pkgdir/usr/lib/systemd/system/mongodb.service"
install -Dm644 "$srcdir/mongodb.sysusers" "$pkgdir/usr/lib/sysusers.d/mongodb.conf"
install -Dm644 "$srcdir/mongodb.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/mongodb.conf"
}
|