]> Cypherpunks repositories - bass.git/commitdiff
irssi skel
authorSergey Matveev <stargrave@stargrave.org>
Fri, 14 Jun 2024 12:41:50 +0000 (15:41 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 14 Jun 2024 12:41:50 +0000 (15:41 +0300)
build/distfiles/.gitignore
build/distfiles/irssi-1.4.5.tar.xz.meta4 [new file with mode: 0644]
build/skel/irc/irssi-1.4.5.do [new file with mode: 0644]

index 85e6ed29ece030d4a6c64cb719ee9120e818a1a2132878da127d140b8055da33..1253b9c2b316f4f7cb72edb2724acbdc5ce039ae0935806923c69a5d812166de 100644 (file)
@@ -62,6 +62,7 @@
 /imlib2-1.12.2.tar.xz
 /iniparser-v4.2.2.tar.zst
 /iniparser.git/
+/irssi-1.4.5.tar.xz
 /lame-3.100.tar.gz
 /less-643.tar.gz
 /libassuan-2.5.7.tar.bz2
diff --git a/build/distfiles/irssi-1.4.5.tar.xz.meta4 b/build/distfiles/irssi-1.4.5.tar.xz.meta4
new file mode 100644 (file)
index 0000000..458f08b
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metalink xmlns="urn:ietf:params:xml:ns:metalink">
+  <file name="irssi-1.4.5.tar.xz">
+    <hash type="blake3-256">632fe126dddae27c07921f2539a0376fcdf83ea4f732a63a1106040e9e802316</hash>
+    <hash type="blake2b-512">573d8552137cb09c152fe0d1f9196c966bc0afb23e8817fed7315a07d2fc36b3ffabf5e8384bb80a48aa24cf57e5d336f40e708a4c9ef6bad3ec8ce10125f196</hash>
+    <hash type="blake2b-256">7fd32296835614c9cc86fcda287805d4ff03d0658194e3493f07aae37124044b</hash>
+    <hash type="skein-512">e30eeb112ebfb0701b620cc1690c9af2053ef7650d194a883e0d70118066d133af80b108c2d49579a0940263344fe3e62854ad69c72df0af7192eb8a51a2e1fc</hash>
+    <hash type="shake128">382b8892c0b27fd24da64f2c95a2fc005b6ecac4c9321900a1664b93d9c34f9b</hash>
+    <hash type="shake256">1178684324e0ff5faa3c7fd36a05fb398fae3ea0255ecc08258e2b5a9309e51f4602601b1db9a9ff31a0ee2f6d6bec96de5a99aa6079818f6020f1bd2b425a05</hash>
+    <hash type="sha-512">5d80107ad625feb6d2b3ac807f517c5cfeae58986d3fbfe53ea82f2dee70396f5092abdc6ef137c5651e4515e081591079b37f0e428f69990db493cfe14e4f36</hash>
+    <hash type="sha-256">72a951cb0ad622785a8962801f005a3a412736c7e7e3ce152f176287c52fe062</hash>
+    <hash type="streebog-512">8667627c65b44d7163fd6d6610f35a44ea08fbdeeeffeef4649fd54e6618b8646b497d9c5ad702d7c3b41bc39d93dda9a0ee814f36b6fc1f273ec3e1db164ef7</hash>
+    <hash type="streebog-256">996d630f5af9dec2abd86ad77e979b13a74245d9ea63ba7de964f58c6c2c5fa5</hash>
+    <hash type="xxh3-128">ae26c412c004d88da4a60ef540dc6213</hash>
+    <size>1215688</size>
+    <url>https://github.com/irssi/irssi/releases/download/1.4.5/irssi-1.4.5.tar.xz</url>
+  </file>
+</metalink>
diff --git a/build/skel/irc/irssi-1.4.5.do b/build/skel/irc/irssi-1.4.5.do
new file mode 100644 (file)
index 0000000..bb5b6b5
--- /dev/null
@@ -0,0 +1,22 @@
+[ -n "$BASS_ROOT" ] || BASS_ROOT="$(dirname "$(realpath -- "$0")")"/../../../..
+sname=$1.do . "$BASS_ROOT"/lib/rc
+. "$BASS_ROOT"/build/skel/common.rc
+
+bdeps="rc-paths stow archivers/zstd devel/pkgconf-2.1.1"
+rdeps="devel/ncurses-6.4 crypto/libgcrypt-1.10.3"
+redo-ifchange $bdeps "$DISTFILES"/$NAME.tar.xz $rdeps
+hsh=$("$BASS_ROOT"/build/bin/cksum $BASS_REV $SPATH)
+. "$BASS_ROOT"/build/lib/create-tmp-for-build.rc
+"$BASS_ROOT"/build/bin/pkg-inst $bdeps $rdeps
+. ./rc
+$TAR xf "$DISTFILES"/$NAME.tar.xz
+"$BASS_ROOT"/bin/rm-r "$SKELBINS"/$ARCH/$NAME-$hsh
+
+cd $NAME
+./configure --prefix="$SKELBINS"/$ARCH/$NAME-$hsh --with-otr=static >&2
+make -j$MAKE_JOBS >&2
+make install >&2
+
+cd "$SKELBINS"/$ARCH
+"$BASS_ROOT"/build/lib/prepare-preinst-010-rdeps $NAME-$hsh $rdeps
+"$BASS_ROOT"/build/lib/mk-pkg $NAME-$hsh