# Maintainer: David P. # Maintainer (AUR): Jenya Sovetkin # Contributor: Fabio Tea # NOTE: since the time that this package was taken from the AUR at verion 0.1.0, # the AUR maintainer has made multiple significant changes # without incrementing the version number from 0.1.0 # this version corresponds to the 2017-10-27 bugfix commit: # b2c87aa33c4af2bb4a2bb80f1850b6e8cfe3651e # "fixing path and racing condition" # NOTE: the license field in the AUR PKGBUILD is 'unknown' # although an MIT-style license is included in the repo pkgname=mkinitcpio-openswap pkgver=0.1.1 pkgrel=1 pkgdesc="mkinitcpio hook to open swap at boot time" arch=('any') license=('MIT') url="https://aur.archlinux.org/packages/mkinitcpio-openswap/" depends=('mkinitcpio') backup=('etc/openswap.conf') install="usage.install" source=('openswap.hook' 'openswap.install' 'openswap.conf') sha256sums=('84ef428386b7f4353af036ccfbd4c60901a76e2d0c7a38dd3be2000219ea9d23' '94dd98a953bab2244215a2b20767cdc9500fc438bed9ec27cae72a73766c6b86' '3308f2679bb7c962d98adf2684d25390025d025e3d30bc1e773e3522311ad325') package() { install -Dm 644 openswap.hook \ "${pkgdir}/usr/lib/initcpio/hooks/openswap" install -Dm 644 openswap.install \ "${pkgdir}/usr/lib/initcpio/install/openswap" install -Dm 644 openswap.conf \ "${pkgdir}/etc/openswap.conf" }