summaryrefslogtreecommitdiff
path: root/pcr/zramswap/PKGBUILD
blob: 80fb474b87ec8770916bb3b0fcdee5380efa11f3 (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
25
# Contributor: ifaigios <ifaigios_at_gmail_dot_com>
# Contributor: Alyssa Hung <deciare@isisiew.org>
# Contributor: Matt Brennan
# Contributor: falconindy
# Contributor: adee
# Contributor: mystilleef
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>

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
}