aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-05-04 09:19:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2021-05-04 09:20:17 +0000
commit48c4d91b5aecafc8ccc3fff3bf1c3fb49d33c153 (patch)
tree253d807686399c3cb99255230c2555303914f02d
parent6bff9e68ca822c5ef1f955f1dd5dc09ba7db93a3 (diff)
downloadaports-48c4d91b5aecafc8ccc3fff3bf1c3fb49d33c153.tar.gz
aports-48c4d91b5aecafc8ccc3fff3bf1c3fb49d33c153.tar.bz2
aports-48c4d91b5aecafc8ccc3fff3bf1c3fb49d33c153.tar.xz
main/findutils: split out locate
split locate to a subpackage so mlocate can be used without conflict. fixes #12648
-rw-r--r--main/findutils/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/findutils/APKBUILD b/main/findutils/APKBUILD
index 1a44c0bc66..551f6ab684 100644
--- a/main/findutils/APKBUILD
+++ b/main/findutils/APKBUILD
@@ -3,13 +3,13 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=findutils
pkgver=4.8.0
-pkgrel=0
+pkgrel=1
pkgdesc="GNU utilities for finding files"
url="https://www.gnu.org/software/findutils/"
arch="all"
license="GPL-3.0-or-later"
checkdepends="coreutils diffutils dejagnu"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-locate:_locate"
source="https://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.xz
test-parse-datetime.patch"
@@ -34,5 +34,12 @@ package() {
rm -rf "$pkgdir"/usr/lib
}
+_locate() {
+ pkgdesc="locate and updatedb from findutils"
+ amove usr/libexec/frcode \
+ usr/bin/locate \
+ usr/bin/updatedb
+}
+
sha512sums="eaa2da304dbeb2cd659b9210ac37da1bde4cd665c12a818eca98541c5ed5cba1050641fc0c39c0a446a5a7a87a8d654df0e0e6b0cee21752ea485188c9f1071e findutils-4.8.0.tar.xz
79571dc889afa5e6f01c9e1d4134df5e4112a410f24eb3e315645f6886a901780745abe49597d07c6409a3e3ecd3380b1721d86a684b7705c35767111c93bbf5 test-parse-datetime.patch"