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

recipes/core/libpsl/PAGBUILD.yaml main

27 linii Raw ← Powrót
123456789101112131415161718192021222324252627
pkgname: libpsl
pkgver: '0.23.3'
pkgrel: 1
pkgdesc: C library to handle the Public Suffix List
url: 'https://github.com/rockdaboot/libpsl'
arch: x86_64
depends: []
makedepends:
- python
- libidn2
- libunistring
source:
- 'https://github.com/rockdaboot/libpsl/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
  cd ${pkgname}-${pkgver}

  sed -i 's/env python/&3/' src/psl-make-dafsa

  ./configure --prefix=/usr --disable-static
  make
  make DESTDIR=${PKGDIR} install
  # Obsolet libs
  rm -f ${PKGDIR}/usr/lib/libpsl.la
package: |
  true