🔒 Repository is read-only – file editing is disabled.

recipes/core/libpng/PAGBUILD.yaml main

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: libpng
pkgver: '1.6.58'
pkgrel: '1'
pkgdesc: 'Libraries used by other programs for reading and writing PNG files.'
url: 'https://www.libpng.org/pub/png/libpng.html'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz'
- 'https://downloads.sourceforge.net/sourceforge/libpng-apng/${pkgname}-${pkgver}-apng.patch.gz'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  gzip -cd ../${pkgname}-${pkgver}-apng.patch.gz | patch -p1

  ./configure --prefix=/usr \
  --disable-static
  make
  make DESTDIR=${PKGDIR} install
  rm -f ${PKGDIR}/usr/lib/${pkgname}{,16}.la

  mkdir -p ${PKGDIR}/usr/share/doc/${pkgname}
  cp -v README libpng-manual.txt ${PKGDIR}/usr/share/doc/${pkgname}

package: |
  true