mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
d7adf09a43
* update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
64 lines
2 KiB
YAML
64 lines
2 KiB
YAML
distributable:
|
||
url: http://deb.debian.org/debian/pool/main/m/moreutils/moreutils_{{version.raw}}.orig.tar.gz
|
||
strip-components: 1
|
||
|
||
versions:
|
||
url: http://ftp.debian.org/debian/pool/main/m/moreutils/
|
||
match: /moreutils_(\d[\d.]*)\.orig\.tar\.gz/
|
||
strip:
|
||
- /moreutils_/
|
||
- /\.orig\.tar\.gz/
|
||
|
||
dependencies:
|
||
perl.org: '*'
|
||
|
||
runtime:
|
||
env:
|
||
PERL5LIB: ${{prefix}}/lib/perl5
|
||
|
||
build:
|
||
dependencies:
|
||
tea.xyz/gx/make: '*'
|
||
tea.xyz/gx/cc: c99
|
||
cpanmin.us: ^1
|
||
script: |
|
||
cpanm -l {{prefix}} Time::Duration
|
||
cpanm -l {{prefix}} IPC::Run
|
||
|
||
make all MANS=""
|
||
touch .noop
|
||
make install PREFIX="{{prefix}}" MANS=".noop"
|
||
rm -rf {{prefix}}/share
|
||
|
||
fix-shebangs.ts {{prefix}}/bin/*
|
||
# we unset MANS because it requires another dep in order to install and we don’t yet have it
|
||
|
||
test: |
|
||
echo hello | isutf8
|
||
# test all the perl scripts work
|
||
chronic true
|
||
echo foo > f1
|
||
echo bar > f2
|
||
test "$(combine f1 OR f2)" = "foo
|
||
bar"
|
||
echo foo | ts
|
||
gzip f1
|
||
test $(zrun cat f1.gz) = foo
|
||
# ^^ can’t test vipe or vidr easily because they require a tty
|
||
|
||
provides:
|
||
- bin/chronic # runs a command quietly unless it fails
|
||
- bin/combine # combine the lines in two files using boolean operations
|
||
- bin/errno # look up errno names and descriptions
|
||
- bin/ifdata # get network interface info without parsing ifconfig output
|
||
- bin/ifne # run a program if the standard input is not empty
|
||
- bin/isutf8 # check if a file or standard input is utf-8
|
||
- bin/lckdo # execute a program with a lock held
|
||
- bin/mispipe # pipe two commands, returning the exit status of the first
|
||
- bin/parallel # run multiple jobs at once
|
||
- bin/pee # tee standard input to pipes
|
||
- bin/sponge # soak up standard input and write to a file
|
||
- bin/ts # timestamp standard input
|
||
- bin/vidir # edit a directory in your text editor
|
||
- bin/vipe # insert a text editor into a pipe
|
||
- bin/zrun # automatically uncompress arguments to command
|