mlocate.paketlendi
This commit is contained in:
parent
8e0fbaa726
commit
3abc405e1d
2 changed files with 32 additions and 0 deletions
28
talimatname/genel/mlocate/talimat
Normal file
28
talimatname/genel/mlocate/talimat
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Description= locate/updatedb birleştirilmiş uygulaması
|
||||||
|
# Url= https://fedorahosted.org/mlocate/
|
||||||
|
# Packager: milisarge
|
||||||
|
# Depends on:
|
||||||
|
|
||||||
|
name=mlocate
|
||||||
|
version=0.26
|
||||||
|
release=1
|
||||||
|
|
||||||
|
source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-${version}.tar.xz
|
||||||
|
updatedb.conf)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${name}-$version
|
||||||
|
sed -i '/^groupname /s/mlocate/locate/' Makefile.in
|
||||||
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
|
||||||
|
make
|
||||||
|
make DESTDIR="${PKG}" install
|
||||||
|
|
||||||
|
chgrp 21 "${PKG}/usr/bin/locate"
|
||||||
|
chmod 2755 "${PKG}/usr/bin/locate"
|
||||||
|
ln -s locate "${PKG}/usr/bin/slocate"
|
||||||
|
|
||||||
|
install -dm755 "${PKG}/var/lib"
|
||||||
|
install -dm750 -g21 "${PKG}/var/lib/locate"
|
||||||
|
|
||||||
|
install -Dm644 ../updatedb.conf "${PKG}/etc/updatedb.conf"
|
||||||
|
}
|
4
talimatname/genel/mlocate/updatedb.conf
Normal file
4
talimatname/genel/mlocate/updatedb.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
PRUNE_BIND_MOUNTS = "yes"
|
||||||
|
PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
|
||||||
|
PRUNENAMES = ".git .hg .svn"
|
||||||
|
PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"
|
Loading…
Add table
Reference in a new issue