extra/libpng to 1.6.37-3

This commit is contained in:
Kevin Mihelich 2020-07-09 17:38:42 +00:00
parent f7b2c9e77e
commit 7efa893652

View file

@ -8,26 +8,15 @@
pkgname=libpng
pkgver=1.6.37
_apngver=1.6.37
pkgrel=2
pkgrel=3
pkgdesc="A collection of routines used to create PNG format graphics files"
arch=('x86_64')
url="http://www.libpng.org/pub/png/libpng.html"
license=('custom')
depends=('zlib' 'sh')
validpgpkeys=('8048643BA2C840F4F92A195FF54984BFA16C640F') # Glenn Randers-Pehrson (mozilla) <glennrp@gmail.com>
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz"
"https://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-$_apngver-apng.patch.gz")
sha256sums=('505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca'
'823bb2d1f09dc7dae4f91ff56d6c22b4b533e912cbd6c64e8762255e411100b6')
prepare() {
cd $pkgname-$pkgver
# Add animated PNG (apng) support. Required by Firefox
# see http://sourceforge.net/projects/libpng-apng/
gzip -cd ../libpng-$_apngver-apng.patch.gz | patch -Np1
}
source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz")
sha256sums=('505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca')
build() {
cd $pkgname-$pkgver