pkgname: udisks2 pkgver: '2.11.2' pkgrel: '1' 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: [] 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