From a0668a067d82608d3eef748c58ac8f16774031f3 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 16 Dec 2019 22:05:22 +0300 Subject: mlocate: add package to testing --- testing/mlocate/build | 9 +++++++++ testing/mlocate/checksums | 1 + testing/mlocate/post-install | 19 +++++++++++++++++++ testing/mlocate/sources | 1 + testing/mlocate/version | 1 + 5 files changed, 31 insertions(+) create mode 100755 testing/mlocate/build create mode 100644 testing/mlocate/checksums create mode 100755 testing/mlocate/post-install create mode 100644 testing/mlocate/sources create mode 100644 testing/mlocate/version (limited to 'testing') diff --git a/testing/mlocate/build b/testing/mlocate/build new file mode 100755 index 00000000..e641b74d --- /dev/null +++ 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 new file mode 100644 index 00000000..ad24726f --- /dev/null +++ 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 new file mode 100755 index 00000000..31c4d616 --- /dev/null +++ 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 <