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

recipes/utils/alsa-lib/PAGBUILD.yaml main

44 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: 'alsa-lib'
pkgver: '1.2.16.1'
pkgrel: '1'
pkgdesc: 'An alternative implementation of Linux sound support'
url: 'https://www.alsa-project.org'
arch: x86_64
depends: []
makedepends:
- doxygen

source:
- 'https://www.alsa-project.org/files/pub/lib/${pkgname}-${pkgver}.tar.bz2'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure
  make
  make DESTDIR=${PKGDIR} install
  make doc

  install -v -d -m755 ${PKGDIR}/usr/share/doc/${pkgname}-${pkgver}/html/search

  install -v -m644 doc/doxygen/html/*.* \
    ${PKGDIR}/usr/share/doc/${pkgname}-${pkgver}/html

  install -v -m644 doc/doxygen/html/search/* \
    ${PKGDIR}/usr/share/doc/${pkgname}-${pkgver}/html/search

  rm -f ${PKGDIR}/usr/lib/libasound.la

package: |
  true

update: |
  local url ext

  url="https://www.alsa-project.org/files/pub/lib/"
  ext=".tar.bz2"
  lynx -read_timeout=20 -dump -listonly -nonumbers \
  $url|grep ${pkgname}-[0-9]|sed "s@$url${pkgname}-@@"|sed "s@$ext@@"|\
  sort|tail -1