<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — [Collection] Compilation of packages and ports (not in repositories)]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=773</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=773&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [Collection] Compilation of packages and ports (not in repositories).]]></description>
		<lastBuildDate>Thu, 13 Nov 2025 18:32:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8671#p8671</link>
			<description><![CDATA[<div class="quotebox"><cite>aloniv wrote:</cite><blockquote><p>I noticed that no NZB usenet downloader was available in Hyperbola and I remembered using NZBGet in the past.</p><p>The PKGBUILD needed is based on the official Arch one - one just needs to disable openssl, remove the systemd path and rename unrar to unar:</p><p><strong>PKGBUILD</strong><br /></p><div class="codebox"><pre><code># Maintainer: Jaroslav Lichtblau &lt;svetlemodry@archlinux.org&gt;
# Maintainer: Carl Smedstad &lt;carsme@archlinux.org&gt;
# Contributor: Alexander Rødseth &lt;rodseth@gmail.com&gt;

pkgname=nzbget
pkgver=25.4
pkgrel=2
pkgdesc=&quot;Efficient usenet downloader&quot;
arch=(&#039;x86_64&#039;)
url=&quot;https://nzbget.com&quot;
license=(&#039;GPL-2.0-or-later&#039;)
depends=(
  &#039;boost-libs&#039;
  &#039;gcc-libs&#039;
  &#039;glibc&#039;
  &#039;libxml2&#039;
  &#039;ncurses&#039;
  &#039;zlib&#039;
)
makedepends=(
  &#039;boost&#039;
  &#039;cmake&#039;
  &#039;git&#039;
)
optdepends=(
  &#039;python: to run included scripts&#039;
  &#039;unar: unpacking archives&#039;
  &#039;7zip: unpacking archives&#039;
)
source=(
  &quot;https://github.com/nzbgetcom/nzbget/archive/v$pkgver/$pkgname-$pkgver.tar.gz&quot;
  &quot;git+https://github.com/nzbgetcom/par2cmdline-turbo.git&quot;
  &quot;$pkgname-use-par2cmdline-turbo-from-sources.patch&quot;
)
sha256sums=(&#039;2603116ffaef4992621cf7a82ce300f41a676a312de784f2bac5058abc1a2385&#039;
            &#039;SKIP&#039;
            &#039;9608a7166969593fea35c2db61a788a0c0083dece1907fcc33c978c70226ff0a&#039;)

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 &lt; ../$pkgname-use-par2cmdline-turbo-from-sources.patch
}

build() {
  cd $pkgname-$pkgver
  cmake -S . -B build \
    -DCMAKE_BUILD_TYPE=None \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -Wno-dev \
    -DENABLE_TESTS=ON \
    -DDISABLE_TLS=ON
  cmake --build build
}

check() {
  cd $pkgname-$pkgver
  ctest --test-dir build --output-on-failure
}

package() {
  cd $pkgname-$pkgver
  DESTDIR=&quot;$pkgdir&quot; cmake --install build
  install -vDm644 -t &quot;$pkgdir/usr/share/doc/$pkgname&quot; ./*.md
}</code></pre></div><p><strong>nzbget-use-par2cmdline-turbo-from-sources.patch</strong><br /></p><div class="codebox"><pre><code>diff --unified --recursive --text --new-file nzbget-25.3.orig/cmake/par2-turbo.cmake nzbget-25.3/cmake/par2-turbo.cmake
--- nzbget-25.3.orig/cmake/par2-turbo.cmake    2025-09-01 20:50:58.443363400 +0200
+++ nzbget-25.3/cmake/par2-turbo.cmake    2025-09-01 20:51:31.722598503 +0200
@@ -51,7 +51,7 @@
 ExternalProject_add(
     par2-turbo
     PREFIX            par2-turbo
-    GIT_REPOSITORY    https://github.com/nzbgetcom/par2cmdline-turbo.git
+    GIT_REPOSITORY    file://${CMAKE_SOURCE_DIR}/../par2cmdline-turbo
     GIT_TAG            v1.3.0-20250808
     TLS_VERIFY        TRUE
     GIT_SHALLOW        TRUE</code></pre></div></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Thu, 13 Nov 2025 18:32:21 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8671#p8671</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8632#p8632</link>
			<description><![CDATA[<p>Package <strong>crimson-fields</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Winston Weinert &lt;winston@ml1.net&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=crimson-fields
_pkgname=crimson
pkgver=0.5.3
pkgrel=1
pkgdesc=&quot;Free and libre turn-based tactical game with a hex grid and multiplayer support&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;http://crimson.seul.org&#039;
license=(&#039;GPL-2&#039;)
depends=(&#039;sdl&#039; &#039;sdl_ttf&#039; &#039;sdl_mixer&#039; &#039;sdl_net&#039;)
groups=(&#039;games&#039;)
source=(&quot;http://crimson.seul.org/files/$_pkgname-$pkgver.tar.gz&quot;)
sha512sums=(&#039;56a0c8c3e271f6ca53baaee23c28b594033b2d3e4b22fb4cd58c9858dc2bda556a13d1204cdba607da0a4414affb455b1403dde73e385a1accdd5162ec9e0a89&#039;)

build() {
  cd &quot;$srcdir/$_pkgname-$pkgver&quot;

  ./configure \
    --prefix=/usr \
    --bindir=/usr/games \
    --datarootdir=/usr/share/games
  make
}

package() {
  cd &quot;$srcdir/$_pkgname-$pkgver&quot;

  make DESTDIR=&quot;$pkgdir/&quot; install
  mv &quot;$pkgdir&quot;/usr/share/games/{applications,man,pixmaps} &quot;$pkgdir&quot;/usr/share
  install -Dm644 COPYING -t &quot;$pkgdir&quot;/usr/share/licenses/$pkgname
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Tue, 20 May 2025 23:35:54 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8632#p8632</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8631#p8631</link>
			<description><![CDATA[<p>Package <strong>heroes</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Steve Engledow &lt;steve@offend.me.uk&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=heroes
pkgver=0.21
_debver=$pkgver
_debrel=18
pkgrel=2
pkgdesc=&quot;An arena fighting game.&quot;
url=&#039;https://heroes.sourceforge.net&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;GPL-2&#039;)
depends=(&#039;sdl&#039; &#039;sdl_mixer&#039;)
makedepends=(&#039;quilt&#039;)
groups=(&#039;games&#039;)
source=(&quot;https://downloads.sourceforge.net/heroes/$pkgname-$pkgver.tar.gz&quot;
        &quot;https://downloads.sourceforge.net/heroes/$pkgname-data-1.5.tar.gz&quot;
        &quot;https://downloads.sourceforge.net/heroes/$pkgname-sound-tracks-1.0.tar.gz&quot;
        &quot;https://downloads.sourceforge.net/heroes/$pkgname-sound-effects-1.0.tar.gz&quot;
        &quot;https://downloads.sourceforge.net/heroes/$pkgname-hq-sound-tracks-1.0.tar.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/h/heroes/heroes_$_debver-$_debrel.debian.tar.xz&quot;)
sha512sums=(&#039;8a28f7c0af8f194fd3557293dd65d555f4cf40e236f776ed1ef7b75f032fa511bae750d9312ba62d183129f8a529c515178ecd40f719c85583c519d531191d30&#039;
            &#039;ec001cda314b43b4e98f784e86bfd29da1cbac75ae981cf9ba738de0e366b47a112a21f0382a8c02737968d295f292e42451250ff9fdaee068662d0f221821f1&#039;
            &#039;eefa299a12b9d0a72eb73b978eab3cce5a6bcafb28acf52981762b64b7d74b7128c8a7e8517b6dcbb5281be0481c4d2fdd01de8706aefe08263ba5de4f29efae&#039;
            &#039;7ac2d0353122839a1b3266c6bb91c8279beade9d41f87031e4116c0a27fc7979d7a8d64fe1eab77b39a4da5869179f0ce7b8a137134df70159d745b7a63156cf&#039;
            &#039;565229fb00ac06d1a3ea37335138ffe87564317eab4d96b069ecd70e276f92141d9c746bc0b2d2f0abdd47e60ca580e063a2cb265d068624b4f306ce9c37f7fc&#039;
            &#039;c558bf06f76e5e9c74f86d14ec36d351395b2b69de7eb5c4c3bc3e18e3911585f9eca7a0f46e6b6076dafe4abca972302eeb6f4173853bd5e946eb0785eea98e&#039;)

prepare() {
  cd &quot;$pkgname-$pkgver&quot;
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi
}

build() {
  cd &quot;$pkgname-$pkgver&quot;
  LDFLAGS=-lm ./configure \
    --prefix=/usr \
    --bin=/usr/games \
    --datadir=/usr/share/games
  make

  cd &quot;$srcdir/$pkgname-data-1.5&quot;
  ./configure \
    --prefix=/usr \
    --datadir=/usr/share/games
  make

  cd &quot;$srcdir/$pkgname-sound-tracks-1.0&quot;
  ./configure \
    --prefix=/usr \
    --datadir=/usr/share/games
  make

  cd &quot;$srcdir/$pkgname-sound-effects-1.0&quot;
  ./configure \
    --prefix=/usr \
    --datadir=/usr/share/games
  make

  cd &quot;$srcdir/$pkgname-hq-sound-tracks-1.0&quot;
  ./configure \
    --prefix=/usr \
    --datadir=/usr/share/games
  make
}

package() {
  cd &quot;$pkgname-$pkgver&quot;
  make DESTDIR=&quot;$pkgdir/&quot; install
  mv &quot;$pkgdir/&quot;usr/share/games/locale &quot;$pkgdir/&quot;usr/share
  install -Dm644 debian/$pkgname.desktop &quot;$pkgdir&quot;/usr/share/applications/$pkgname.desktop
  install -Dm644 debian/$pkgname.xpm &quot;$pkgdir&quot;/usr/share/pixmaps/$pkgname.xpm
  install -Dm644 COPYING -t &quot;$pkgdir/usr/share/licenses/$pkgname&quot;

  cd &quot;$srcdir/$pkgname-data-1.5&quot;
  make DESTDIR=&quot;$pkgdir/&quot; install

  cd &quot;$srcdir/$pkgname-sound-tracks-1.0&quot;
  make DESTDIR=&quot;$pkgdir/&quot; install

  cd &quot;$srcdir/$pkgname-sound-effects-1.0&quot;
  make DESTDIR=&quot;$pkgdir/&quot; install

  cd &quot;$srcdir/$pkgname-hq-sound-tracks-1.0&quot;
  make DESTDIR=&quot;$pkgdir/&quot; install
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Tue, 20 May 2025 23:35:05 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8631#p8631</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8630#p8630</link>
			<description><![CDATA[<p>Package <strong>dustrac</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Frederic Bezies &lt;fredbezies at gmail dot com&gt;
# Contributor (Arch): Daniel Milde
# Maintainer: Jayvee Enaguas &lt;harvettfox96@dismail.de&gt;
# Contributor: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=dustrac
_pkgname=DustRacing2D
pkgver=2.1.1
pkgrel=2
_debver=2.1.1
_debrel=1
pkgdesc=&#039;Dust Racing 2D is a traditional top-down car racing game including a level editor&#039;
arch=(&#039;x86_64&#039; &#039;i686&#039;)
url=&#039;https://juzzlin.github.io/DustRacing2D/&#039;
license=(&#039;GPL-3&#039; &#039;CC-BY-SA-3.0&#039;)
depends=(&#039;qt-tools&#039; &#039;openal&#039; &#039;libvorbis&#039; &#039;glu&#039;)
makedepends=(&#039;cmake&#039; &#039;quilt&#039;)
groups=(&#039;games&#039;)
source=(&quot;${pkgname}-${pkgver}.tar.gz::https://github.com/juzzlin/${_pkgname}/archive/${pkgver}.tar.gz&quot;
    &quot;https://deb.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${_debver}-${_debrel}.debian.tar.xz&quot;)
sha512sums=(&#039;9a49cd0302ab47b12ee587a33cc74c1df2bf6cf7925141cbf957fc90a5c1a34423d4420be28bcb6909a862daa12d6214b397fd0fc77e9e18fa649f3ca5c2e1ab&#039;
        &#039;8824ae4dd0d281d945521262eb0a88927539ee335f475f3f42b5876bece2af32eaa1e4651b0be40d07cfd282a851c4a508229c90c23e02b40e5d3a7377399f57&#039;)

prepare() {
  cd ${_pkgname}-${pkgver}/

  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian/ ./

    quilt push -av
  fi
}

build() {
  cd ${_pkgname}-${pkgver}/

  mkdir build &amp;&amp; cd build
  cmake ../ \
    -DReleaseBuild=ON \
    -DCMAKE_INSTALL_PREFIX=/usr/ \
    -DBIN_PATH=games
  make
}

package() {
  cd ${_pkgname}-${pkgver}/build/

  make DESTDIR=${pkgdir} install
  # Install licence file.
  install -Dm644 ../COPYING -t ${pkgdir}/usr/share/licenses/${pkgname}/
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Tue, 20 May 2025 23:34:21 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8630#p8630</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8629#p8629</link>
			<description><![CDATA[<p>Package <strong>sdl3</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Sven-Hendrik Haase &lt;svenstaro@archlinux.org&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=sdl3
pkgver=3.2.14
pkgrel=1
pkgdesc=&quot;A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 3)&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&quot;https://www.libsdl.org&quot;
license=(&#039;zlib&#039;)
depends=(&#039;glibc&#039; &#039;libxext&#039; &#039;libxrender&#039; &#039;libx11&#039; &#039;mesa-libgl&#039; &#039;libxcursor&#039; &#039;libusb&#039;)
makedepends=(&#039;cmake&#039; &#039;ninja&#039; &#039;jack&#039; &#039;alsa-lib&#039; &#039;mesa&#039; &#039;libxrandr&#039; &#039;libxinerama&#039; &#039;libxkbcommon&#039;
             &#039;libxss&#039; &#039;sndio&#039;)
optdepends=(
  &#039;alsa-lib: ALSA audio driver&#039;
  &#039;sndio: sndio audio driver&#039;
)
source=(&quot;https://github.com/libsdl-org/SDL/releases/download/release-${pkgver}/SDL3-${pkgver}.tar.gz&quot;)
sha512sums=(&#039;7e501bda73cc7b42b860e6ba6f9a0450fdb5014f5999afa64ccd6b4eb633edf6646fd1e251d58189649755a883d7dd51e5bcc53e841974180ed73d56fb8e29cd&#039;)

build() {
  CFLAGS+=&quot; -ffat-lto-objects&quot;
  cmake -S SDL3-${pkgver} \
    -B build -G Ninja \
    -D CMAKE_BUILD_TYPE=None \
    -D CMAKE_INSTALL_PREFIX=/usr \
    -D SDL_STATIC=OFF \
    -D SDL_RPATH=OFF
  cmake --build build
}

package() {
  DESTDIR=&quot;${pkgdir}&quot; cmake --install build
  install -Dm644 SDL3-${pkgver}/LICENSE.txt &quot;$pkgdir/usr/share/licenses/$pkgname/LICENSE&quot;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Mon, 19 May 2025 22:39:03 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8629#p8629</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8628#p8628</link>
			<description><![CDATA[<p>Package <strong>scappit</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Oliver Giles &lt;web ohwg net&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=scappit
pkgver=0.3
pkgrel=1
pkgdesc=&quot;Simple screen capture and annotation&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://scappit.ohwg.net&#039;
license=(&#039;Expat&#039;)
depends=(&#039;qt-base&#039; &#039;qt-x11extras&#039; &#039;gnome-icon-theme&#039;)
makedepends=(&#039;cmake&#039;)
options=(&#039;strip&#039;)
source=(&quot;${pkgname}-${pkgver}.tar.gz::https://github.com/ohwgiles/$pkgname/archive/v${pkgver}.tar.gz&quot;
        &quot;${pkgname}.desktop&quot;)
sha512sums=(&#039;66eac8dbd1f259ac92403029cd3558605d00f61c57846cce547ece503a9e9f691d98dafa50eab256448b762ac763c78886e0fa1ad6de331521de390f811994cf&#039;
            &#039;41364792a000f6065c85c60422a5c68c56951063be11a2d65ce25a7e38469b1c8e165e0de1fb766e978a6af124a9fd272c39e7303731bdecb3046be53e639ed1&#039;)

build() {
  cmake \
    -S $pkgname-$pkgver \
    -B build \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -Wno-dev
  make -C build
}

package() {
  make DESTDIR=&quot;$pkgdir/&quot; -C build install/strip
  install -Dm644 &quot;$srcdir/$pkgname.desktop&quot; -t &quot;$pkgdir/usr/share/applications&quot;
  install -Dm644 &quot;$srcdir/$pkgname-$pkgver/LICENSE&quot; -t &quot;$pkgdir/usr/share/licenses/$pkgname&quot;
}</code></pre></div><p><strong>scappit.desktop</strong></p><div class="codebox"><pre><code>[Desktop Entry]
Version=1.0
Name=Scappit
GenericName=Simple screen capture and annotation
Comment=Simple screen capture and annotation
Type=Application
Categories=Graphics;GTK;
Exec=scappit
TryExec=scappit
Terminal=false
StartupNotify=true
Icon=applets-screenshooter</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Mon, 19 May 2025 22:14:30 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8628#p8628</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8617#p8617</link>
			<description><![CDATA[<p>Package <strong>rmw</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Andy Alt &lt;arch_stanton5995 at proton.me&gt;
# Contributor (Arch): Oliver Jaksch &lt;arch-aur at com-in dot de&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=rmw
pkgver=0.8.0
pkgrel=1
pkgdesc=&quot;Trash/recycle bin utility for the commandline&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://theimpossibleastronaut.com/rmw-website/&#039;
license=(&#039;GPL-3&#039;)
depends=(&#039;glibc&#039; &#039;ncurses&#039;)
makedepends=(&#039;meson&#039; &#039;ninja&#039;)
source=(&quot;https://github.com/theimpossibleastronaut/rmw/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz&quot;)
sha512sums=(&#039;5744e4b46edecfd6d0588d9b0ecbc8a91e8495f2e07d87599d045f620a2ae08381e9efa97cfa51c83cfcf8a2e89a594f8e87c374dc452ffb5b1bd2371b46aa22&#039;)

build() {
  hyperbola-meson $pkgname-$pkgver build -Db_sanitize=none
  meson compile -v -C build
}

package() {
  DESTDIR=&quot;$pkgdir&quot; meson install -C build
  rm -rf &quot;$pkgdir/usr/share/doc/$pkgname/external&quot;
  install -Dm644 &quot;$srcdir/$pkgname-$pkgver/COPYING&quot; -t &quot;$pkgdir/usr/share/licenses/$pkgname&quot;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Tue, 15 Apr 2025 22:01:22 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8617#p8617</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8616#p8616</link>
			<description><![CDATA[<p>Package <strong>cdrip-tools</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): John Lane &lt;archlinux at jelmail dot com&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbolainfo&gt;

pkgname=cdrip-tools
pkgver=0.3
pkgrel=1
pkgdesc=&quot;Commandline accuraterip verifier and rip offset fixer&quot;
url=&#039;https://github.com/spadev/cdrip-tools&#039;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;GPL-3&#039;)
depends=(&#039;python&#039; &#039;libsndfile&#039;)
source=(&quot;${pkgname}-${pkgver}.zip::https://github.com/spadev/${pkgname}/archive/master.zip&quot;)
sha512sums=(&#039;43493a2f7b0f8cd0fc9f3de82cc3d1f0bb81b770e468ba7bf3259c89cbd7de3d1ba1295d1f628cf3dc7d65ab8fbc4cca7d73b85309932dd81eb0369d9137c20a&#039;)

prepare() {
  mv &quot;$pkgname-master&quot; &quot;$pkgname-$pkgver&quot;
}

build() {
  cd $srcdir/$pkgname-$pkgver
  cc -o ckcdda ckcdda.c
  cc -o splitaudio -l sndfile splitaudio.c

  # nasty library hack - change name to something less generic
  sed -i -e &#039;s/^import utils/import cdrip_utils as utils/&#039; \
         -e &#039;s/^from utils/from cdrip_utils/&#039; *.py
}

package() {
  cd $srcdir/$pkgname-$pkgver
  install -Dm644 README.md $pkgdir/usr/share/doc/$pkgname/README.md
  install -Dm755 arverify.py $pkgdir/usr/bin/arverify
  install -Dm755 fixoffset.py $pkgdir/usr/bin/fixoffset
  install -Dm755 splitaudio $pkgdir/usr/bin/
  install -Dm755 ckcdda $pkgdir/usr/bin/

  # nasty library hack - install renamed library (hopefully in site-packages!)
  pylibdir=$(python -c &quot;import sys; print(sys.path[-1]);&quot;)
  install -Dm755 utils.py $pkgdir${pylibdir}/cdrip_utils.py

  install -Dm644 LICENSE -t $pkgdir/usr/share/licenses/$pkgname
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sun, 13 Apr 2025 19:52:10 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8616#p8616</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8581#p8581</link>
			<description><![CDATA[<p>Package <strong>fricas</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Antonio Rojas &lt;arojas@archlinux.org&gt;
# Contributor (Arch): Sergey Khorev &lt;sergey.khorev@gmail.com&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=fricas
pkgver=1.3.8
_debver=$pkgver
_debrel=6
pkgrel=1
pkgdesc=&quot;An advanced computer algebra system&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://fricas.github.io&#039;
license=(&#039;Modified-BSD&#039;)
depends=(&#039;gawk&#039; &#039;glibc&#039; &#039;libx11&#039; &#039;libxpm&#039; &#039;sh&#039;)
makedepends=(&#039;sbcl-legacy&#039; &#039;quilt&#039;)
options=(!strip)
source=(&quot;$pkgname-$pkgver.tar.bz2::https://deb.debian.org/debian/pool/main/f/fricas/fricas_$pkgver.orig.tar.bz2&quot;
        &quot;https://deb.debian.org/debian/pool/main/f/fricas/fricas_$_debver-$_debrel.debian.tar.xz&quot;)
sha512sums=(&#039;330554f9dc36b47451195e3dee88fe26a80ab2bf9b6750d651cd53c5ba16b9c9736176936c7c69e699685be25aa62b6a099ed7340913e946a4f5e53579835dbb&#039;
            &#039;6f34cb205fb13f7018a5c1bf4d278f1fe331e5de41f713180cb953a36bf75455fc55308c3a39d2e4104f4d8f167dcdff8f7012b6d13f22abe3511013161d58c8&#039;)

prepare() {
  cd $pkgname-$pkgver
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    # Doesn&#039;t apply
    rm -v debian/patches/package-names-and-ansi-pathname || true

    quilt push -av
  fi
}

build() {
  cd $pkgname-$pkgver
  ./configure \
    --prefix=/usr \
    --with-lisp=&#039;sbcl \
    --control-stack-size 512 \
    --dynamic-space-size 6000&#039;
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR=&quot;$pkgdir&quot; install
  install -Dm644 license/LICENSE.AXIOM -t &quot;$pkgdir&quot;/usr/share/licenses/$pkgname
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Mon, 03 Mar 2025 23:12:51 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8581#p8581</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8532#p8532</link>
			<description><![CDATA[<p>Package <strong>pekwm-themes</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Alexander F Rødseth &lt;xyproto@archlinux.org&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=pekwm-themes
pkgver=1.0.5
_debver=$pkgver
_debrel=7
pkgrel=1
pkgdesc=&quot;PekWM theme collection&quot;
arch=(&#039;any&#039;)
license=(&#039;GPL-2&#039; &#039;GPL-3&#039;)
depends=(&#039;pekwm&#039;)
source=(&quot;${pkgname}-${pkgver}.tar.gz::https://deb.debian.org/debian/pool/main/p/pekwm-themes/pekwm-themes_${pkgver}.orig.tar.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/p/pekwm-themes/pekwm-themes_${_debver}-${_debrel}.debian.tar.xz&quot;)
sha512sums=(&#039;94ef6e1cb564fcc28601729e1a6e95c6f858ab7a31ea9bf3ad8478398931229ee0087ec3724c4df263b45191064503dae91bee7e8abeeeca10ca783601ad2fe3&#039;
            &#039;310df602fa223650cde9a7cbf6f8f46619d5ae4ef9ae241552ac629c9a619eb3b17b80e2109a6baf4c4638a65c7aa8e8916c5523e439f91f8d39aea1cbef0555&#039;)

package() {
  install -d &quot;$pkgdir/usr/share/pekwm/themes&quot;
  cp -R &quot;$srcdir/$pkgname/&quot;* &quot;$pkgdir/usr/share/pekwm/themes/&quot;
  install -Dm644 &quot;$srcdir/debian/copyright&quot; -t &quot;$pkgdir/usr/share/licenses/$pkgname&quot;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sun, 12 Jan 2025 19:08:32 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8532#p8532</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8531#p8531</link>
			<description><![CDATA[<p>Package <strong>pekwm</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Alexander F. Rødseth &lt;xyproto@archlinux.org&gt;
# Contributor (Arch): Kevin Piche &lt;kevin@archlinux.org&gt;
# Contributor (Arch): Eddie Lozon &lt;almostlucky@attbi.com&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=pekwm
pkgver=0.1.18
_debver=$pkgver
_debrel=1
pkgrel=1
pkgdesc=&quot;Tabbed X11 window manager&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
license=(&#039;GPL-2&#039;)
url=&#039;https://github.com/pekdon/pekwm&#039;
depends=(&#039;libjpeg-turbo&#039; &#039;libxft&#039; &#039;libxinerama&#039; &#039;libxpm&#039; &#039;libxrandr&#039;)
makedepends=(&#039;quilt&#039;)
optdepends=(&#039;lxappearance: feature-rich GTK+ theme switcher&#039;
            &#039;nitrogen: background browser and setter&#039;
            &#039;tint2: basic, good-looking task manager&#039;)
backup=(&#039;etc/pekwm/autoproperties&#039;
        &#039;etc/pekwm/autoproperties_typerules&#039;
        &#039;etc/pekwm/config&#039;
        &#039;etc/pekwm/config_system&#039;
        &#039;etc/pekwm/keys&#039;
        &#039;etc/pekwm/menu&#039;
        &#039;etc/pekwm/mouse&#039;
        &#039;etc/pekwm/mouse_click&#039;
        &#039;etc/pekwm/mouse_sloppy&#039;
        &#039;etc/pekwm/mouse_system&#039;
        &#039;etc/pekwm/start&#039;
        &#039;etc/pekwm/vars&#039;)
source=(&quot;https://github.com/${pkgname}/${pkgname}/releases/download/release-${pkgver}/${pkgname}-${pkgver}.tar.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/p/pekwm/pekwm_${_debver}-${_debrel}.debian.tar.xz&quot;)
sha512sums=(&#039;7fe04c04089d3375d1f64d456a7a582e88fd1f442c1c710bdef71309c7fe5aab234026ba381eb9a49b3d459b759924b577ba9597156e46e60147a9d845c27e89&#039;
            &#039;7f8d285b2725ee24b5fcefc1bacbb9b9738f58c19b49bafe40645e72f71f9ca1498a55185184f22906cbdfa404c626b8e7abc33406549af0b85ba8d36f78c615&#039;)

prepare() {
  cd $pkgname-$pkgver
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi
  ./autogen.sh
}

build() {
  cd $pkgname-$pkgver
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc
  make
}

package() {
  make -C $pkgname-$pkgver DESTDIR=&quot;$pkgdir&quot; install
  install -Dm644 &quot;$srcdir&quot;/$pkgname-$pkgver/debian/$pkgname.desktop &quot;$pkgdir&quot;/usr/share/xsessions/$pkgname.desktop
  install -Dm644 &quot;$srcdir&quot;/$pkgname-$pkgver/LICENSE -t &quot;${pkgdir}/usr/share/licenses/$pkgname&quot;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sun, 12 Jan 2025 19:07:40 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8531#p8531</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8530#p8530</link>
			<description><![CDATA[<p>Package <strong>enlightenment16</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Brian BIdulock &lt;bidulock@openss7.org&gt;
# Contributor (Arch): Eric Bélanger &lt;eric@archlinux.org&gt;
# Maintainer: André Silva &lt;emulatorman@hyperbola.info&gt;
# Contributor: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=enlightenment16
pkgver=1.0.29
_themever=1.0.3
pkgrel=1
pkgdesc=&quot;A fast, flexible, and very extensible Window Manager&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://www.enlightenment.org/e16&#039;
license=(&#039;Expat&#039;)
depends=(&#039;libxinerama&#039; &#039;imlib2&#039; &#039;perl&#039; &#039;pango&#039; &#039;libxcomposite&#039; &#039;sndio&#039; &#039;libxrandr&#039; &#039;libxdamage&#039; &#039;libsndfile&#039;)
makedepends=(&#039;libsndio&#039;)
source=(&quot;https://downloads.sourceforge.net/sourceforge/enlightenment/e16-${pkgver}.tar.gz&quot;
        &quot;https://downloads.sourceforge.net/enlightenment/e16-themes-${_themever}.tar.gz&quot;
        &quot;starte16&quot;)
sha512sums=(&#039;e95dc2ad05b4f2ec3f374c5268f8f790e9ddd212f4e5e60d3517ade8645e539de5207553a841e14d1c099496f8385271f3f95867ef8ebfd99c419201477ef299&#039;
            &#039;6c8d7d15233f401c9b6c406116d822c42b7eed9b81570f2f25824886eee0a8c51895dfeeffa5c6e820f5e9449d9d28ec55e029f1136b5cb55cd7072fe9f57cba&#039;
            &#039;99f382ddcb0951f38e3bff686cf4e2940e408729490719108e671c4bae7aae3708f8c6222b392ebf31bef21b788f8de7bdd894402b3e060dc0c9f716f78b0c22&#039;)

build() {
  pushd e16-${pkgver}
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-sound=sndio \
    --enable-dbus=no \
    --with-gnome=no
  make
  popd
  
  cd e16-themes-${_themever}
  ./configure --prefix=/usr
}

package() {
  cd e16-${pkgver}
  make DESTDIR=&quot;${pkgdir}&quot; install
  install -D -m644 COPYING -t &quot;${pkgdir}/usr/share/licenses/${pkgname}&quot;
  install -D -m644 fonts/COPYRIGHT.Vera -t &quot;${pkgdir}/usr/share/licenses/${pkgname}&quot;

  cd &quot;${srcdir}/e16-themes-${_themever}&quot;
  make DESTDIR=&quot;${pkgdir}&quot; install
  chown -R root:root &quot;${pkgdir}&quot;/usr/share/*

  # removing unsupported
  rm &quot;${pkgdir}&quot;/usr/share/e16/misc/e16-dbus-cmd
  rm &quot;${pkgdir}&quot;/usr/share/e16/misc/starte16-gnome
  rm &quot;${pkgdir}&quot;/usr/share/e16/misc/starte16-kde
  rm &quot;${pkgdir}&quot;/usr/share/e16/misc/Xclients.e16-gnome.sh
  rm &quot;${pkgdir}&quot;/usr/share/e16/misc/Xclients.e16-kde.sh
  rm &quot;${pkgdir}&quot;/usr/share/xsessions/e16-kde-session.desktop

  # attach script
  rm &quot;${pkgdir}&quot;/usr/share/e16/misc/starte16
  cp &quot;${srcdir}&quot;/starte16  &quot;${pkgdir}&quot;/usr/share/e16/misc/
}</code></pre></div><p><strong>starte16</strong></p><div class="codebox"><pre><code>#!/bin/sh

s=$1
test -z &quot;$s&quot; &amp;&amp; s=$0

case &quot;$s&quot; in
*window)
    exec /usr/bin/e16 -w ${SIZE:-800x600}
    ;;
*)
    exec /usr/bin/e16
    ;;
esac</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Sun, 12 Jan 2025 19:06:42 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8530#p8530</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8529#p8529</link>
			<description><![CDATA[<p>Package <strong>sar2</strong> (Search and Rescue 2)</p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer (Arch): Popolon &lt;popolon@popolon.org&gt;
# Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

_name=SearchAndRescue2
pkgname=sar2
pkgver=2.5.0
pkgrel=2
pkgdesc=&quot;Free and libre helicopter simulator&quot;
url=&#039;https://searchandrescue2.github.io/sar2/&#039;
license=(&#039;GPL-2&#039;)
arch=(&#039;i686&#039; &#039;x86_64&#039;)
depends=(&#039;freealut&#039; &#039;openal&#039; &#039;libvorbis&#039; &#039;sdl2&#039; &#039;libsm&#039; &#039;libxmu&#039; &#039;libxpm&#039; &#039;glu&#039;)
makedepends=(&#039;scons&#039; &#039;python-setuptools&#039;)
groups=(&#039;games&#039;)
source=(&quot;https://github.com/$_name/$pkgname/archive/v$pkgver.tar.gz&quot;
        &quot;fhs-compliant.patch&quot;)
sha512sums=(&#039;b5e6036e9ca0bce4245b951cdc16e676470f95906c714b28facf0006c4db838d86dbb57982712fa5f6abb9bd774c61b9d1c593c82b08325e9f28db25273a194a&#039;
            &#039;754ced777865fbd2eb4102eb79eeb8ebb6ffad3e4a0ff81c9cdf29a089d33adf779c146aaa8b25c914e6034fc52545f7d760e7e51a385b142a54f1893d2373b6&#039;)

prepare() {
  cd &quot;$pkgname-$pkgver&quot;
  patch -Np1 -i ${srcdir}/fhs-compliant.patch
}

build() {
  cd &quot;$pkgname-$pkgver&quot;
  scons
}

package() {
  cd &quot;$pkgname-$pkgver&quot;
  scons install --prefix=${pkgdir}/usr
  install -Dm644 extra/$pkgname.desktop &quot;${pkgdir}/usr/share/applications/$pkgname.desktop&quot;
  install -Dm644 LICENSE -t &quot;${pkgdir}/usr/share/licenses/$pkgname&quot;
}</code></pre></div><p><strong>fhs-compliant.patch</strong></p><div class="codebox"><pre><code>--- a/src/SConscript    2020-06-20 23:48:35.000000000 +0200
+++ b/src/SConscript    2021-10-24 17:56:07.030471759 +0200
@@ -177,11 +177,11 @@
 &quot;&quot;&quot;)
 
 object_list = env.Object(source = sources)
-sar2 = env.Program(target=&#039;#bin/sar2&#039;, source=[object_list])
+sar2 = env.Program(target=&#039;#games/sar2&#039;, source=[object_list])
 data=&#039;#data&#039;
 man=&#039;#man/sar2.6.bz2&#039;
 pixmap=&#039;#extra/sar2.xpm&#039;
-env.Alias(&quot;install&quot;, env.InstallAs(&#039;$DESTDIR/$PREFIX/share/sar2&#039;, data))
+env.Alias(&quot;install&quot;, env.InstallAs(&#039;$DESTDIR/$PREFIX/share/games/sar2&#039;, data))
 env.Alias(&quot;install&quot;, env.Install(&#039;$DESTDIR/$PREFIX/share/man/man6&#039;, man))
 env.Alias(&quot;install&quot;, env.Install(&#039;$DESTDIR/$PREFIX/share/pixmaps&#039;, pixmap))
-env.Alias(&quot;install&quot;, env.Install(&#039;$DESTDIR/$PREFIX/bin&#039;, sar2))
+env.Alias(&quot;install&quot;, env.Install(&#039;$DESTDIR/$PREFIX/games&#039;, sar2))
--- a/src/config.h    2020-06-20 23:48:35.000000000 +0200
+++ b/src/config.h    2021-10-24 18:06:58.489853438 +0200
@@ -502,7 +502,7 @@
 #define SAR_DEF_LOCAL_DATA_DIR  &quot;.config/sar2&quot;
 
 /* Game data dir */
-#define SAR_DEF_GLOBAL_DATA_DIR &quot;/usr/share/sar2&quot;
+#define SAR_DEF_GLOBAL_DATA_DIR &quot;/usr/share/games/sar2&quot;
 
 /* Subdirs, one of each in the local and global game dirs */
 #define SAR_DEF_AIRCRAFTS_DIR        &quot;aircrafts&quot;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 10 Jan 2025 13:25:02 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8529#p8529</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8528#p8528</link>
			<description><![CDATA[<p>Package <strong>sar</strong> (Search and Rescue)</p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=sar
_pkgbase=SearchAndRescue
_pkgname=searchandrescue
pkgver=1.5.0
_debver=$pkgver
_debrel=2.1
pkgdataver=1.3.0
pkgrel=1
pkgdesc=&quot;Fly aircraft to search (for) and rescue people in distress&quot;
url=&#039;http://sourceforge.net/projects/searchandrescue/&#039;
license=(&#039;GPL-2&#039;)
arch=(&#039;i686&#039; &#039;x86_64&#039;)
depends=(&#039;glibc&#039; &#039;glu&#039; &#039;sdl&#039; &#039;sdl_mixer&#039; &#039;libx11&#039; &#039;libxpm&#039; &#039;libxxf86vm&#039; &#039;libxext&#039; &#039;libxmu&#039;)
makedepends=(&#039;clang&#039;)
groups=(&#039;games&#039;)
source=(&quot;https://deb.debian.org/debian/pool/main/s/searchandrescue/searchandrescue_${pkgver}.orig.tar.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/s/searchandrescue/searchandrescue_${_debver}-${_debrel}.diff.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/s/searchandrescue-data/searchandrescue-data_${pkgdataver}.orig.tar.gz&quot;)
sha512sums=(&#039;72a8e5c375bb2f5d11d1346bb3c81ea4678a9c58c36f53c048e9a16d32a926ff93c3ec9756867f0869aa2a8da5fb0bfe7764f704c4e79519ee0834d225513657&#039;
            &#039;7e3d76e54684f0a8f761dbbbc426a3bf68802d9a546864ef8c306b542b757976e9e73d0a9da70fba6c55a6c83d90c89b801815bd251f0462c7a463de061752cb&#039;
            &#039;5419376aeecb0f05570a8d2a0a6f830f3b22ce9d1d34a5e490485767546c6d0d1d2a2a3f37e5dfcef69e271a94a9c7dfc6b592e3c0dd62a8a6c38e4bf7d25ccd&#039;)
noextract=(&quot;searchandrescue-data_${pkgdataver}.orig.tar.gz&quot;)

prepare() {
  cd ${_pkgname}_${pkgver}
  patch -Np1 &lt; ${srcdir}/${_pkgname}_${_debver}-${_debrel}.diff
}

build() {
  cd ${_pkgname}_${pkgver}
  make
}

package() {
  cd ${_pkgname}_${pkgver}
  make DESTDIR=&quot;$pkgdir/&quot; install

  # install data-files
  install -d &quot;${pkgdir}/usr/share/games/$_pkgname&quot;
  tar -xzf &quot;${srcdir}/searchandrescue-data_${pkgdataver}.orig.tar.gz&quot; \
      -C   &quot;${pkgdir}/usr/share/games/$_pkgname/&quot;

  # install metadata-files
  install -Dm644 debian/$_pkgbase.desktop &quot;${pkgdir}/usr/share/applications/&quot;$_pkgbase.desktop

  # install license
  install -Dm644 LICENSE -t &quot;${pkgdir}/usr/share/licenses/$pkgname/&quot;
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 10 Jan 2025 13:23:50 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8528#p8528</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Collection] Compilation of packages and ports (not in repositories)]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=8527#p8527</link>
			<description><![CDATA[<p>Package <strong>abbayedesmorts</strong></p><p><strong>PKGBUILD</strong></p><div class="codebox"><pre><code># Maintainer: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=abbayedesmorts
pkgver=2.0.4
pkgrel=1
pkgdesc=&quot;l&#039;Abbaye des Morts - An obsolete, free and libre video game for a dark passage of history&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://github.com/nevat/abbayedesmorts-gpl&#039;
license=(&#039;GPL-3&#039; &#039;CC-BY-3.0&#039;)
depends=(&#039;sdl2&#039; &#039;sdl2_image&#039; &#039;sdl2_mixer&#039;)
groups=(&#039;games&#039;)
source=(&quot;${pkgname}-${pkgver}.tar.gz::https://github.com/nevat/abbayedesmorts-gpl/archive/refs/tags/v${pkgver}.tar.gz&quot;
        &quot;fhs-compliant.patch&quot;)
sha512sums=(&#039;46e2384c2f176dd54c3056d2e8a7ea1ea40da918bc1598414c68a2449f198e49c3dba30dc8c3c771f8d37e7a6eaa38caccbc2275d1712b7a8e5332ca400c5562&#039;
            &#039;0e57c75c0887f0016c1508d980099c55ab6ae1ef2fdb9a7e1359a6f4e1fd958ec6a116d77de4dcf8436f65c66bb4dec5813488691d41880c704aa584cb97f3e6&#039;)

prepare() {
  mv &quot;${pkgname}-gpl-${pkgver}&quot; &quot;${pkgname}-${pkgver}&quot;
  cd &quot;${pkgname}-${pkgver}&quot;
  patch -Np1 -i &quot;$srcdir/fhs-compliant.patch&quot;
}

build() {
  cd &quot;${pkgname}-${pkgver}&quot;
  make
}

package() {
  cd &quot;${pkgname}-${pkgver}&quot;
  mkdir -p &quot;$pkgdir/usr/games&quot;
  mkdir -p &quot;$pkgdir/usr/share&quot;
  mkdir -p &quot;$pkgdir/usr/share/applications&quot;
  mkdir -p &quot;$pkgdir/usr/share/pixmaps&quot;
  make DESTDIR=&quot;$pkgdir&quot; install

  # license
  install -Dm644 {COPYING,ReadMe.md} -t &quot;$pkgdir/usr/share/licenses/$pkgname&quot;
}</code></pre></div><p><strong>fhs-compliant.patch</strong></p><div class="codebox"><pre><code>--- a/Makefile    2024-09-23 23:18:05.000000000 +0200
+++ b/Makefile    2024-12-15 02:36:43.892348396 +0100
@@ -23,7 +23,7 @@
 DATADIR= &quot;\&quot;./\&quot;&quot;
 endif
 
-DATADIR?=&quot;\&quot;$(PREFIX)/share/abbayev2\&quot;&quot;
+DATADIR?=&quot;\&quot;$(PREFIX)/share/games/abbayev2\&quot;&quot;
 LDFLAGS?=    -Wl,-z,relro
 
 CFLAGS+=    `sdl2-config --cflags` -DDATADIR=$(DATADIR)
@@ -61,28 +61,28 @@
 
 # Installation
 install: $(PROG)
-    mkdir -p $(DESTDIR)$(PREFIX)/bin
-    cp $(PROG) $(DESTDIR)$(PREFIX)/bin
+    mkdir -p $(DESTDIR)$(PREFIX)/games
+    cp $(PROG) $(DESTDIR)$(PREFIX)/games
     mkdir -p $(DESTDIR)$(PREFIX)/share/applications
     cp abbaye.desktop $(DESTDIR)$(PREFIX)/share/applications
-    mkdir -p $(DESTDIR)$(PREFIX)/share/abbayev2/sounds
-    cp ./sounds/* $(DESTDIR)$(PREFIX)/share/abbayev2/sounds
-    mkdir -p $(DESTDIR)$(PREFIX)/share/abbayev2/data
-    cp ./data/* $(DESTDIR)$(PREFIX)/share/abbayev2/data
+    mkdir -p $(DESTDIR)$(PREFIX)/share/games/abbayev2/sounds
+    cp ./sounds/* $(DESTDIR)$(PREFIX)/share/games/abbayev2/sounds
+    mkdir -p $(DESTDIR)$(PREFIX)/share/games/abbayev2/data
+    cp ./data/* $(DESTDIR)$(PREFIX)/share/games/abbayev2/data
     mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps
     cp abbaye.png $(DESTDIR)$(PREFIX)/share/pixmaps
-    mkdir -p $(DESTDIR)$(PREFIX)/share/abbayev2/graphics
-    cp -r ./graphics/* $(DESTDIR)$(PREFIX)/share/abbayev2/graphics
+    mkdir -p $(DESTDIR)$(PREFIX)/share/games/abbayev2/graphics
+    cp -r ./graphics/* $(DESTDIR)$(PREFIX)/share/games/abbayev2/graphics
     mkdir -p $(DESTDIR)$(PREFIX)/share/appdata
     cp ./appdata/abbaye.appdata.xml $(DESTDIR)$(PREFIX)/share/appdata
 
 uninstall:
-    rm $(DESTDIR)$(PREFIX)/bin/$(PROG)
+    rm $(DESTDIR)$(PREFIX)/games/$(PROG)
     rm $(DESTDIR)$(PREFIX)/share/applications/abbaye.desktop
     rm $(DESTDIR)$(PREFIX)/share/pixmaps/abbaye.png
-    rm -rf $(DESTDIR)$(PREFIX)/share/abbayev2
+    rm -rf $(DESTDIR)$(PREFIX)/share/games/abbayev2
     rm $(DESTDIR)$(PREFIX)/share/appdata/abbaye.appdata.xml
     # ignore if not empty
-    -rmdir $(DESTDIR)$(PREFIX)/bin
+    -rmdir $(DESTDIR)$(PREFIX)/games
     -rmdir $(DESTDIR)$(PREFIX)/share/applications
     -rmdir $(DESTDIR)$(PREFIX)/share/pixmaps</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 10 Jan 2025 00:31:34 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=8527#p8527</guid>
		</item>
	</channel>
</rss>
