PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/udisks2/PAGBUILD.yaml main

58 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
pkgname: udisks2
pkgver: '2.11.2'
pkgrel: '2'
pkgdesc: Daemon, tools and libraries to access and manipulate disks and storage devices.
url: 'https://www.freedesktop.org/wiki/Software/udisks'
arch: x86_64
license:
- GPL-2
depends:
- acl
- glib
- libblockdev
- libgudev
- polkit
- systemd
- util-linux
makedepends:
- acl
- attr
- systemd
- libgudev
- expat
- libatasmart
- libxslt
- polkit
- gobject-introspection
- docbook-xsl
- libblockdev
source:
- 'https://github.com/storaged-project/udisks/releases/download/udisks-${pkgver}/udisks-${pkgver}.tar.bz2'
sha256sums:
- 18630a8aad806bea0bc626ce97e71e50ec82c742956ac1c834a4275f8f22207b
hooks:
  post-install: |
    name=udisks2
    version=2.11.2
    release=1
    systemctl enable udisks2
build: |
  cd udisks-${pkgver}
  ./configure --prefix=/usr \
  --libexecdir=/usr/lib \
  --sbindir=/usr/bin \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --disable-static \
  --with-systemdsystemunitdir=/usr/lib/systemd/system

  make

  sed -i -r 's/^ +\././' doc/man/*.[158]

  make DESTDIR=${PKGDIR} install

  # Obsolet lib
  rm -f ${PKGDIR}/usr/lib/libudisks2.la
package: |
  true