aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mlocate/APKBUILD
diff options
context:
space:
mode:
authorDiaz Devera Victor <vitronic2@gmail.com>2014-12-24 04:23:30 -0430
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-12-24 13:58:30 +0100
commitd616ee217869dd33665cb7bbf1091fcdff7b6851 (patch)
tree1d3659648528ae101accf2bdbb05236d70da9214 /testing/mlocate/APKBUILD
parent55f2b07c41dafa59a160d9794f54f8c949a11eb1 (diff)
downloadaports-d616ee217869dd33665cb7bbf1091fcdff7b6851.tar.bz2
aports-d616ee217869dd33665cb7bbf1091fcdff7b6851.tar.xz
main/mlocate: add suid to $options
Diffstat (limited to 'testing/mlocate/APKBUILD')
-rw-r--r--testing/mlocate/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/mlocate/APKBUILD b/testing/mlocate/APKBUILD
index dcb8f6d295..73c87165bf 100644
--- a/testing/mlocate/APKBUILD
+++ b/testing/mlocate/APKBUILD
@@ -4,11 +4,12 @@
pkgname=mlocate
pkgver=0.26
-pkgrel=1
+pkgrel=2
pkgdesc='A utility to index and quickly search for files by name'
url='https://fedorahosted.org/mlocate/'
arch='all'
license='GPL'
+options='suid'
pkggroups='locate'
install="$pkgname.pre-install"
makedepends=""
@@ -44,8 +45,7 @@ package() {
install -Dm644 "$srcdir"/updatedb.conf "$pkgdir"/etc/updatedb.conf
install -Dm744 "$srcdir"/updatedb.cron.daily \
"$pkgdir"/etc/periodic/daily/updatedb
-
- rm "$pkgdir"/usr/lib/charset.alias
+ rm -rf "${pkgdir}"/usr/lib
}
md5sums="539e6f86bf387358aa2b14d5f880e49a mlocate-0.26.tar.xz
465315bfa3380a23fae9a383270cb2ec updatedb.conf