summaryrefslogtreecommitdiff
path: root/pcr/zramswap/PKGBUILD
blob: db38ab084f8934fc8b609875a82291f879debfc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor (Arch): ifaigios <ifaigios_at_gmail_dot_com>
# Contributor (Arch): Alyssa Hung <deciare@isisiew.org>
# Contributor (Arch): Matt Brennan
# Contributor (Arch): falconindy
# Contributor (Arch): adee
# Contributor (Arch): mystilleef

pkgname=zramswap
pkgver=1.1
pkgrel=1
pkgdesc="Sets up zram-based swap devices on boot"
arch=('any')
url="http://en.wikipedia.org/wiki/ZRam"
license=('GPL')
depends=('bash')
source=("zramctrl"
        "zramswap.service")
md5sums=('709480a5f46fc4b6bea16800823240c1'
         'a6c029dc942c85704b0f6ac1ca078a24')

package() {
  install -Dm755 zramctrl $pkgdir/usr/lib/systemd/scripts/zramctrl
  install -Dm644 zramswap.service $pkgdir/usr/lib/systemd/system/zramswap.service
}