archrelease: copy trunk to community-any
[ArchLinux/community.git] / systemd-swap / trunk / PKGBUILD
blobce35985365c5b1ac4b43c4e807dc417331e00564
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Timofey Titovets <Nefelim4ag@gmail.com>
4 pkgname=systemd-swap
5 pkgver=4.4.0
6 pkgrel=2
7 pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions."
8 arch=('any')
9 url="https://github.com/Nefelim4ag/systemd-swap"
10 license=('GPL3')
11 depends=('python-systemd' 'python-sysv_ipc' 'systemd' 'util-linux')
12 backup=('etc/systemd/swap.conf')
13 install="$pkgname.install"
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/Nefelim4ag/systemd-swap/archive/$pkgver.tar.gz")
15 sha512sums=('39cf297d0d82f4d5fbae64f323bda2c286dd24665321892f068dc5bceea4ea5ddcacdcef14576cab869edbed7d258de759baec36535403051bb2b925406db0b3')
17 build() {
18   cd systemd-swap-$pkgver
19   make
22 check() {
23   cd systemd-swap-$pkgver
24   ./systemd-swap status
27 package() {
28   cd systemd-swap-$pkgver
29   make DESTDIR="$pkgdir" install