From 6a62c0bcfd88787da155b77f7e07c71a5988f42c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 25 Feb 2026 23:11:28 +0100 Subject: Add libquanta MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libquanta/PKGBUILD | 24 ++++++++++++++++++++++++ libquanta/upload | 1 + 2 files changed, 25 insertions(+) create mode 100644 libquanta/PKGBUILD create mode 120000 libquanta/upload diff --git a/libquanta/PKGBUILD b/libquanta/PKGBUILD new file mode 100644 index 0000000..2a25cb9 --- /dev/null +++ b/libquanta/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée + +pkgname=libquanta +pkgver=1.0 +pkgrel=1 +pkgdesc="Colour quantisation library" +arch=(i686 x86_64) +url="https://codeberg.org/maandree/libquanta" +license=('custom:ISC') +depends=(libj2) +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(655d06ec84d9e095fc655d44e6d0439017f02a872f0f0ed9d4bad5604e69df29) + + +build() { + cd "$srcdir/$pkgname" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname" + make PREFIX=/usr DESTDIR="$pkgdir" install +} diff --git a/libquanta/upload b/libquanta/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libquanta/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2