Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
c7c1b974
Commit
c7c1b974
authored
1 year ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/mlocate: modernise
parent
f43946e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/mlocate/APKBUILD
+24
-24
24 additions, 24 deletions
community/mlocate/APKBUILD
with
24 additions
and
24 deletions
community/mlocate/APKBUILD
+
24
−
24
View file @
c7c1b974
# Contributor: Leslie P. Polzer <polzer@port-zero.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Alex Laskin <alex@lask.in>
pkgname
=
mlocate
pkgver
=
0.26
pkgrel
=
8
pkgdesc
=
"
A u
tility for finding files by name quickly"
pkgrel
=
9
pkgdesc
=
"
U
tility for finding files by name quickly"
url
=
"https://pagure.io/mlocate"
arch
=
"all"
license
=
"GPL-2.0"
license
=
"GPL-2.0
-only
"
options
=
"suid !check"
checkdepends
=
"bash"
pkggroups
=
"locate"
install
=
"
$pkgname
.pre-install"
subpackages
=
"
$pkgname
-doc"
source
=
"https://releases.pagure.org/mlocate/
$pkgname
-
$pkgver
.tar.xz
01-fortify-source-compat.patch
updatedb.conf
updatedb.cron.daily"
01-fortify-source-compat.patch
updatedb.conf
updatedb.cron.daily
"
prepare
()
{
default_prepare
default_prepare
cd
"
$builddir
"
sed
-i
'/^groupname /s/mlocate/locate/'
Makefile.in
sed
-i
'/^groupname /s/mlocate/locate/'
Makefile.in
update_config_sub
}
build
()
{
cd
"
$builddir
"
./configure
\
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--target
=
$CTARGET
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--localstatedir
=
/var/lib
make
--sysconfdir
=
/etc
\
--localstatedir
=
/var/lib
make
}
check
()
{
...
...
@@ -44,19 +42,21 @@ check() {
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
install
ln
-s
locate
"
$pkgdir
"
/usr/bin/slocate
ln
-s
locate
"
$pkgdir
"
/usr/bin/slocate
install
-dm755
"
$pkgdir
"
/var/lib
install
-dm755
"
$pkgdir
"
/var/lib
install
-Dm644
"
$srcdir
"
/updatedb.conf
"
$pkgdir
"
/etc/updatedb.conf
install
-Dm744
"
$srcdir
"
/updatedb.cron.daily
"
$pkgdir
"
/etc/periodic/daily/updatedb
install
-Dm644
"
$srcdir
"
/updatedb.conf
"
$pkgdir
"
/etc/updatedb.conf
install
-Dm744
"
$srcdir
"
/updatedb.cron.daily
"
$pkgdir
"
/etc/periodic/daily/updatedb
rm
-rf
"
$pkgdir
"
/usr/lib
rm
-rf
"
$pkgdir
"
/usr/lib
}
sha512sums
=
"b1207047e30a551cba39e70812439b554def567ebe9b8b81fed6f26435bb575beafe4875a21cd72876eadd85da4e7bfc942eb28b17c430b537c351690364837f mlocate-0.26.tar.xz
sha512sums
=
"
b1207047e30a551cba39e70812439b554def567ebe9b8b81fed6f26435bb575beafe4875a21cd72876eadd85da4e7bfc942eb28b17c430b537c351690364837f mlocate-0.26.tar.xz
ad4a70a3a827d09113b30788e7343f3cd47750cf0ce79f088fadab102fc78c04243482eddb9987cac8843c5065257dd6d9c17f423fe4c331fefe0148657f55fe 01-fortify-source-compat.patch
663ebf09348458a3c82ac83bf77de9d38a214bd91c73385b2ea7fb7eda5beaaa7ad1d7c66a8a017ef6a0d5295ff1778bedab9be60d9b3a5ac3fefe5f1593a5f5 updatedb.conf
60551f1574a31650bc665901cac418366ba26dc8514fb82ca55c75d29a9617ce05bc77b2a14c724cd49c8375d8ad5c3e9ba4df4210ce1b6b37bb3a244dcdc84c updatedb.cron.daily"
60551f1574a31650bc665901cac418366ba26dc8514fb82ca55c75d29a9617ce05bc77b2a14c724cd49c8375d8ad5c3e9ba4df4210ce1b6b37bb3a244dcdc84c updatedb.cron.daily
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment