46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
# then please put 'unknown'.
|
|
|
|
# Maintainer: Fabrice Mouhartem <chouhartem@epheme.re>
|
|
pkgname=suspend-resume
|
|
pkgver=0.1.0
|
|
pkgrel=1
|
|
epoch=
|
|
pkgdesc="Suspend then resume systemd service"
|
|
arch=(x86_64)
|
|
url=""
|
|
license=('GPL')
|
|
groups=()
|
|
depends=()
|
|
makedepends=()
|
|
checkdepends=()
|
|
optdepends=()
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
backup=()
|
|
options=()
|
|
install=
|
|
changelog=
|
|
source=("suspend-resume.tar.gz")
|
|
noextract=()
|
|
sha512sums=('316f88a166d906b336c3019e666b93a71129f38fcccc37f7bdf8759324f087afe56df79ce9ef5083dabf9373104c58004fcbd4c7b1fd23a13708ce7e75188c2d')
|
|
validpgpkeys=()
|
|
|
|
prepare() {
|
|
true
|
|
}
|
|
|
|
build() {
|
|
true
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/opt"
|
|
install -d "$pkgdir/etc/systemd/system/"
|
|
install -m755 "$pkgname/opt/suspend-resume.sh" "$pkgdir/opt/"
|
|
install -m644 "$pkgname/etc/systemd/system/suspend-resume.service" "$pkgdir/etc/systemd/system/"
|
|
}
|