# 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
}
