summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorViktor Semykin2018-07-16 18:24:03 +0300
committerViktor Semykin2018-07-16 18:25:23 +0300
commit666477b4bdf32dab2c9645be70da36d9335149a5 (patch)
treed408cf27c132318353bb1494aaeb0ec11170aac0 /PKGBUILD
downloadaur-666477b4bdf32dab2c9645be70da36d9335149a5.tar.gz
initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..8261bb63ffb1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+#Maintainer: Viktor Semykin thesame.ml@gmail.com
+
+pkgname="mongodb34-bin"
+pkgver="3.4.16"
+pkgrel="1"
+pkgdesc="Scalable and flexible document database"
+arch=("x86_64")
+url="https://www.mongodb.com/"
+license=("AGPLv3")
+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=('16c7a42623b5f5d798708dd44915dd1f'
+ '96ab4517b48974ce0e566d9746a75a4f'
+ '4839fe1d638187ca3226e8267b947318'
+ 'ff773b723f7bf217c2a8176e3b143498'
+ 'c599936e8858aeba31dc06cc3ff88612')
+
+backup=("etc/mongodb.conf")
+
+package() {
+ mkdir -p "$pkgdir/usr"
+ 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"
+}