mio 8a658ab8b9 community/libqrencode: update source url
Fixes `404 Not Found` error when fetching the source tarball. The
project website's download section now points to the GitHub repository
releases page.
2025-04-24 07:43:17 +00:00

46 lines
969 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libqrencode
pkgver=4.1.1
pkgrel=3
pkgdesc="Library for encoding QR codes"
url="https://fukuchi.org/works/qrencode/index.html"
arch="all"
license="LGPL-2.1-or-later"
makedepends="autoconf automake libpng-dev libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="$pkgname-$pkgver.tar.gz::https://github.com/fukuchi/libqrencode/archive/refs/tags/v$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-tests
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
tools() {
amove usr/bin/*
}
sha512sums="
584106e7bcaaa1ef2efe63d653daad38d4ff436eb4b185a1db3c747169c1ffa74149c3b1329bb0b8ae007903db0a7034aabf135cc196d91a37b5c61348154a65 libqrencode-4.1.1.tar.gz
"