commit a0668a067d82608d3eef748c58ac8f16774031f3
parent 5b3e6a3fc121cddfbebe97811249d72c74bba38e
Author: Cem Keylan <cem@ckyln.com>
Date: Mon, 16 Dec 2019 22:05:22 +0300
mlocate: add package to testing
Diffstat:
5 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/testing/mlocate/build b/testing/mlocate/build
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --disable-nls
+
+make
+
+make DESTDIR="$1" install
diff --git a/testing/mlocate/checksums b/testing/mlocate/checksums
@@ -0,0 +1 @@
+3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e mlocate-0.26.tar.xz
diff --git a/testing/mlocate/post-install b/testing/mlocate/post-install
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+if grep -q mlocate /etc/group; then
+ echo "mlocate group already exists, skipping creation"
+else
+ echo "Creating mlocate group"
+ addgroup mlocate
+fi
+
+cat <<EOF
+
+NOTE: In order to use "locate" command without
+root priviliges add yourself to the
+
+ mlocate
+
+group.
+
+EOF
diff --git a/testing/mlocate/sources b/testing/mlocate/sources
@@ -0,0 +1 @@
+http://releases.pagure.org/mlocate/mlocate-0.26.tar.xz
diff --git a/testing/mlocate/version b/testing/mlocate/version
@@ -0,0 +1 @@
+0.26 1