51

Re: [Collection] Packages never getting into the repositories or not ready

Package focuswriter as it was removed. If someone wants to adapt that package for a port, please feel invited.

# Maintainer (Arch): Balló György <ballogyor+arch at gmail dot com>
# Contributor (Arch): Graeme Gott <graeme@gottcode.org>

pkgname=focuswriter
pkgver=1.7.6
pkgrel=1
pkgdesc='Simple, distraction-free word processor'
arch=('i686' 'x86_64')
url='https://gottcode.org/focuswriter/'
license=('GPL-3')
depends=('hicolor-icon-theme' 'hunspell' 'qt-multimedia')
makedepends=('qt-tools')
source=("https://gottcode.org/$pkgname/$pkgname-$pkgver-src.tar.bz2"{,.asc})
sha512sums=('45e0bc9b20c73b260aa42dcc9ee79515d3ad95d4c9586f60ab75fb404f73c7443484f238b3705ba3224b852a0d9b8b8db17d9145aebb77513f8597a01ab01d3b'
            'SKIP')
validpgpkeys=('57E4D43C10CD7EDB8360C84774FFC7F02C4F6B37')

prepare() {
  cd $pkgname-$pkgver
  sed -i '/INSTALLS +=/ s/ pixmap//' focuswriter.pro
}

build() {
  cd $pkgname-$pkgver
  qmake-qt5 PREFIX=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make INSTALL_ROOT="$pkgdir" install
  install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
}
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

52

Re: [Collection] Packages never getting into the repositories or not ready

Package ii.

PKGBUILD

# Maintainer: Tobias Dausend <throgh@hyperbola.info>

pkgname=ii
pkgver=2.0
pkgrel=1
pkgdesc="A minimalist FIFO and filesystem-based IRC client"
arch=('i686' 'x86_64')
url='https://tools.suckless.org/ii/'
license=('Expat')
source=("https://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz")
sha512sums=('ab8102b5669495b7bc6a3311245f3eb49d2add1e387290e41deb51e121f4c7c98a09d117052c345d8b896149276a83790c0b78efe3ed19fc52bc00575bf8e44a')

build() {
  cd "$pkgname-$pkgver"
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" PREFIX="/usr" install
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

53

Re: [Collection] Packages never getting into the repositories or not ready

Package solarus.

PKGBUILD

# Maintainer (Arch): MCMic <come@chilliet.eu>
# Contributor (Arch): MCMic <come@chilliet.eu>
# Contributor (Arch): Sam101 <zoetrem @t gmail dot com>
# Contributor (Arch): BenObiWan <benobiwan @t gmail dot com>
# Contributor (Arch): Huulivoide
# Contributor (Arch): Fernando Carmona Varo <ferkiwi @t gmail dot com>
# Contributor (Arch): Franck Stauffer <franck.stauffer@monaco.mc>
# Maintainer: Tobias Dausend <throgh@hyperbola.info>

pkgname=solarus
pkgver=1.6.5
pkgrel=1
pkgdesc="A lightweight, free and libre game engine for Action-RPGs"
arch=('i686' 'x86_64')
url='https://www.solarus-games.org/'
license=('GPL-3' 'CC-BY-SA-3.0' 'CC-BY-SA-4.0')
depends=('glm' 'hicolor-icon-theme' 'libmodplug' 'libvorbis'
         'luajit' 'openal' 'physfs' 'qt-base'
         'qt-tools' 'sdl2' 'sdl2_image' 'sdl2_ttf')
makedepends=('cmake')
groups=('games')
source=("https://gitlab.com/solarus-games/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
sha512sums=('3fc7473f1b7dd80cbcb0a7a639701f8b12bd40ee918a7853805bd54f877e752b4c31c26828e62248ca4594b3aed41a8c61a16be3b14b293f08d9ba938a723e91')

prepare() {
  cmake \
    -Wno-dev \
    -B build \
    -S "$pkgname-v$pkgver" \
    -DSOLARUS_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX="/usr" \
    -DCMAKE_INSTALL_BINDIR="games" \
    -DCMAKE_INSTALL_DATADIR="share/games" \
    -DCMAKE_BUILD_TYPE=Release
}

build() {
  make -C build ${MAKEFLAGS}
}

package() {
  make -C build DESTDIR="${pkgdir}/" install
  mv "${pkgdir}/usr/share/games/"{icons,pixmaps,applications,metainfo} "${pkgdir}/usr/share/"
  install -Dm644 "${srcdir}/$pkgname-v$pkgver/"license{,_gpl}.txt -t "${pkgdir}/usr/share/licenses/$pkgname"
}
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

54 (edited by zapper 2023-06-01 00:45:19)

Re: [Collection] Packages never getting into the repositories or not ready

@throgh used to care about focuswriter, I think now, I would prefer novelwriter.

I don't know how you would add that given the rules you mentioned that govern Hyperbola.

Its possible its a no go for now. Which is a shame, its the best one I am found yet.

sad

Anywho, point being, focuswriter isn't as relevant to me now. big_smile


This being said, its wise if people save pkgbuild's if they need them badly enough and/or if they think they will still work after the "purge"

wink

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

55

Re: [Collection] Packages never getting into the repositories or not ready

All is saved within the git-repositories, so it is also possible to jump back towards a previous version. smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

56

Re: [Collection] Packages never getting into the repositories or not ready

Here's a GNU Units PKGBUILD which I tried to adapt to Hyperbola GNU+LinuxLibre packaging standards; This is my first time dealing with PKGBUILDs so it may have some quirks, though it works fine on my system

BTW, does anyone know the licensing status of these AUR and Hyperbola PKGBUILD scripts? I haven't found any information regarding the matter; are they, like, de facto public domain or something?

# Maintainer (Arch): tarball <bootctl@gmail.com>
# Contributor (Arch): Kyle Keen <keenerd@gmail.com>
# Contributor (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor (Arch): Jeff Mickey <jeff@archlinux.org>
# Contributor (Arch): Steve Sansom <snsansom@gmail.com>
# Contributor: Ramon <Mamao@danwin1210.de>

pkgname=units
pkgver=2.21
_debver=2.21
_debrel=1
pkgrel=1
pkgdesc="Advanced software for the conversion of units (currencies, meters to feet etc.)"
arch=(i686 x86_64)
license=('GPL-3')
url="https://www.gnu.org/software/units/units.html"
optdepends=('python-unidecode: for live currency rates'
            'python-requests: for live currency rates')
makedepends=('quilt')
source=("https://ftpmirror.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz"{,.sig}
        "https://deb.debian.org/debian/pool/main/u/units/units_$_debver-$_debrel.debian.tar.xz")
options=('!makeflags')
validpgpkeys=('9AD8FC4162D7937CF64F972E1889D5F0E0636F49') # Adrian Mariano <adrian@cam.cornell.edu> and <adrianm@gnu.org>
sha512sums=('34bacff606f12aa5b2e59170f6b2142277aa1121d79610a51b57f07f17ae2dbdfbbb0e60be34522f367679cc152408f77c1ebb551016224d23f81c21f4b3ba62'
            'SKIP'
            'f7f081ab2140b3cb5b8abed8d4061334bedc89077371f760d9de3688dbc0a6697949eb427fcaa735b88f10b6fdee0f2c8f76edcc5d06260e1129ca69d6ae30a9')

prepare() {
  cd $srcdir/$pkgname-$pkgver

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

    mv "$srcdir"/debian .

    # Doesn't apply
    rm -v debian/patches/pager.patch || true # /usr/bin/pager appears to be
                                             # absent in Hyperbola

    quilt push -av
  fi
}

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr/ --sharedstatedir=/var/lib/ # For FHS compliance
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make INSTALL=/usr/bin/install DESTDIR=$pkgdir install
  install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
I hereby liberate ALL works of my own posted in the forums, to the fullest extent allowed, under the CC0+a waiver of all other restrictions
Promote love!

57

Re: [Collection] Packages never getting into the repositories or not ready

MamãoMutante wrote:

BTW, does anyone know the licensing status of these AUR and Hyperbola PKGBUILD scripts? I haven't found any information regarding the matter; are they, like, de facto public domain or something?

Exactly for this reasoning the original authors have to be always mentioned within the PKGBUILD-script modified as derivate work. So all is done to grant all people mentioned done work on this script.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

58

Re: [Collection] Packages never getting into the repositories or not ready

qpakman

# Maintainer: Tobias Dausend <throgh@hyperbola.info>

pkgname=qpakman
pkgver=0.67
pkgrel=1
pkgdesc="A command-line tool for managing PAK and WAD files"
arch=('i686' 'x86_64')
url='https://github.com/bunder/qpakman'
license=('GPL-2')
depends=('libpng')
makedepends=('cmake')
groups=('games')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/bunder/qpakman/archive/v${pkgver}.tar.gz)
sha512sums=('9b362d58f66c499c65e1841223e0a832fb990bcbd50457d5cca42190b20a50c2b325845cbdb76a9379a5170f8f52c553cfbebd405a29ea9dc14626ea41e5b844')

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

package() {
  install -Dm755 "$srcdir/build/$pkgname" -t "$pkgdir/usr/games"
  install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!