Date: Sunday, April 19, 2020 @ 13:44:28
  Author: jelle
Revision: 616479

archrelease: copy trunk to community-x86_64

Added:
  meilisearch/repos/community-x86_64/
  meilisearch/repos/community-x86_64/PKGBUILD
    (from rev 616478, meilisearch/trunk/PKGBUILD)
  meilisearch/repos/community-x86_64/meilisearch.conf
    (from rev 616478, meilisearch/trunk/meilisearch.conf)
  meilisearch/repos/community-x86_64/meilisearch.service
    (from rev 616478, meilisearch/trunk/meilisearch.service)
  meilisearch/repos/community-x86_64/meilisearch.sysusers
    (from rev 616478, meilisearch/trunk/meilisearch.sysusers)
  meilisearch/repos/community-x86_64/meilisearch.tmpfiles
    (from rev 616478, meilisearch/trunk/meilisearch.tmpfiles)

----------------------+
 PKGBUILD             |   41 +++++++++++++++++++++++++++++++++++++++++
 meilisearch.conf     |    5 +++++
 meilisearch.service  |   31 +++++++++++++++++++++++++++++++
 meilisearch.sysusers |    2 ++
 meilisearch.tmpfiles |    1 +
 5 files changed, 80 insertions(+)

Copied: meilisearch/repos/community-x86_64/PKGBUILD (from rev 616478, 
meilisearch/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2020-04-19 13:44:28 UTC (rev 616479)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa <je...@archlinux.org>
+
+_pkgname=MeiliSearch
+pkgname=meilisearch
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine"
+arch=(x86_64)
+url="https://docs.meilisearch.com/";
+license=('MIT')
+depends=(gcc-libs)
+makedepends=(rust)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/meilisearch/MeiliSearch/archive/v${pkgver}.tar.gz
+        ${pkgname}.service ${pkgname}.tmpfiles ${pkgname}.sysusers 
${pkgname}.conf)
+sha512sums=('f07622a25b1a7ba97b6a8139b5fa3b61e16ddf4176f9adb870339a4c33fbd1dfb6b41230b8cf220c50f65ca3add7679c160765ce1fd020abb5a45665b5af2eaf'
+            
'88c5cf90aca1cc058dffdb19a8fcef2f9232a6458f18190704ede5a165bdedaf7f7ea8a1365cfb34c42f917bbc2354c3fb1f397fc966aaebdce8b5f30040df20'
+            
'76284bf4c436a6b3365edd6bd12ffcb186b721d284b29933e77ddc841d333be9eeb2701c89fba1567a8eedda52787be8d3c5f55809a051488b7295fbb6842bce'
+            
'b83518bd61cb587baac784b1b9bbe4a6a12be91c0a5b6cc0b3b631dde9cee1d59d6e43800a0d32b909fb2d90fe3f64e1ab63c3c8028428be3333d39f6c05d60c'
+            
'9d63a9cca6cafb248fffcd4a6e5bac0905d4b87f3eb9793576003d3965e35e217c4c1d6b3206b25ef47143e7d538e71c746bc0352bcdf248ed19e12f58aedc12')
+validpgpkeys=()
+
+build() {
+  cd "$_pkgname-$pkgver"
+  cargo build --release --locked --all-features
+}
+
+check() {
+  cd "$_pkgname-$pkgver"
+  cargo test --release --locked
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+  install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -D -m644 "${srcdir}/meilisearch.service"  
"${pkgdir}/usr/lib/systemd/system/meilisearch.service"
+  install -D -m644 "${srcdir}/meilisearch.sysusers" 
"${pkgdir}/usr/lib/sysusers.d/meilisearch.conf"
+  install -D -m644 "${srcdir}/meilisearch.tmpfiles" 
"${pkgdir}/usr/lib/tmpfiles.d/meilisearch.conf"
+  install -D -m644 "${srcdir}/meilisearch.conf" 
"${pkgdir}/etc//meilisearch.conf"
+}

Copied: meilisearch/repos/community-x86_64/meilisearch.conf (from rev 616478, 
meilisearch/trunk/meilisearch.conf)
===================================================================
--- community-x86_64/meilisearch.conf                           (rev 0)
+++ community-x86_64/meilisearch.conf   2020-04-19 13:44:28 UTC (rev 616479)
@@ -0,0 +1,5 @@
+# Meilisearch configuration
+#MEILI_ENV=
+#MEILI_HTTP_ADDR=
+#MEILI_MASTER_KEY=
+#MEILI_NO_ANALYTICS=no

Copied: meilisearch/repos/community-x86_64/meilisearch.service (from rev 
616478, meilisearch/trunk/meilisearch.service)
===================================================================
--- community-x86_64/meilisearch.service                                (rev 0)
+++ community-x86_64/meilisearch.service        2020-04-19 13:44:28 UTC (rev 
616479)
@@ -0,0 +1,31 @@
+[Unit]
+Description=MeiliSearch is a RESTful search API
+Documentation=https://docs.meilisearch.com/
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=meilisearch
+Group=meilisearch
+Restart=on-failure
+WorkingDirectory=/var/lib/meilisearch
+ExecStart=/usr/bin/meilisearch --no-analytics true
+EnvironmentFile=/etc/meilisearch.conf
+NoNewPrivileges=true
+ProtectHome=true
+ProtectSystem=full
+ProtectHostname=true
+ProtectControlGroups=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectKernelLogs=true
+LockPersonality=true
+RestrictRealtime=yes
+RestrictNamespaces=yes
+MemoryDenyWriteExecute=yes
+PrivateDevices=yes
+PrivateTmp=true
+CapabilityBoundingSet=
+
+[Install]
+WantedBy=multi-user.target

Copied: meilisearch/repos/community-x86_64/meilisearch.sysusers (from rev 
616478, meilisearch/trunk/meilisearch.sysusers)
===================================================================
--- community-x86_64/meilisearch.sysusers                               (rev 0)
+++ community-x86_64/meilisearch.sysusers       2020-04-19 13:44:28 UTC (rev 
616479)
@@ -0,0 +1,2 @@
+u meilisearch - "Meilisearch dedicated user" /var/lib/meilisearch
+

Copied: meilisearch/repos/community-x86_64/meilisearch.tmpfiles (from rev 
616478, meilisearch/trunk/meilisearch.tmpfiles)
===================================================================
--- community-x86_64/meilisearch.tmpfiles                               (rev 0)
+++ community-x86_64/meilisearch.tmpfiles       2020-04-19 13:44:28 UTC (rev 
616479)
@@ -0,0 +1 @@
+d /var/lib/meilisearch 0750 meilisearch meilisearch -

Reply via email to