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

recipes/utils/libmtp/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: libmtp
pkgver: '1.1.23'
pkgrel: '1'
pkgdesc: 'Library implementation of the Media Transfer Protocol.'
url: 'https://libmtp.sourceforge.net'
arch: x86_64
depends: []
makedepends:
- libusb
- libgcrypt

source:
- 'https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr \
              --disable-static \
              --with-udev=/lib/udev
  make
  make -k check
  make DESTDIR=${PKGDIR} install

  # Obsolet lib
  rm -f ${PKGDIR}/usr/lib/libmtp.la

  install -Dm644 doc/man/man3/*.3 -t \
  ${PKGDIR}/usr/share/man/man3/

package: |
  true