summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6cc4c79e7528a94f932ef3974c69ef2d3537a885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Damjan Georgievski <gdamjan@gmail.com>
pkgname=systemd-suspend-modules
pkgver=1.2
pkgrel=1
pkgdesc="Reload modules on suspend/hibernate with systemd"
arch=('any')
url="https://aur.archlinux.org/packages/systemd-suspend-modules"
license=('GPL')
depends=('bash' 'systemd')
backup=('etc/suspend-modules.conf')
source=("suspend-modules")

package() {
    # Install files
    install -Dm755 "${srcdir}/suspend-modules" "${pkgdir}/usr/lib/systemd/system-sleep/suspend-modules"
    mkdir ${pkgdir}/etc/
    touch ${pkgdir}/etc/suspend-modules.conf
}

sha256sums=('d847f2ea5a5ef63473bed0200d5c15e74b93ac8ec88fce811f80340701d18e67')