Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions projects/plocate.sesse.net/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributable:
url: https://plocate.sesse.net/download/plocate-{{version}}.tar.gz
strip-components: 1
# 1.1.25 is flat; older tarballs nest under plocate-VERSION/

versions:
url: https://plocate.sesse.net/download/
Expand All @@ -22,8 +22,14 @@ build:
ninja-build.org: ^1
gnu.org/gcc: '*'
script:
# 1.1.25 tarball is flat; older ones nest under plocate-VERSION/
- run: |
if test -d plocate-{{version}}; then
mv plocate-{{version}}/* .
rm -rf plocate-{{version}}
fi
# duplicate struct definitions
- sed -i '/<linux\/stat.h>/d' io_uring_engine.h
- test ! -f io_uring_engine.h || sed -i '/<linux\/stat.h>/d' io_uring_engine.h
# don't run the installer after build
- sed -i '/mkdir.sh/s/^/#/' meson.build
- meson setup build $ARGS
Expand Down
Loading