2014-05-25 06:55:46 +08:00
|
|
|
pkgname=systemd-swap
|
2017-03-13 18:33:50 +08:00
|
|
|
pkgver=3.3.0
|
2014-05-25 06:55:46 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions."
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/TimofeyTitovets/systemd-swap"
|
|
|
|
license=('GPL3')
|
|
|
|
conflicts=('systemd-loop-swapfile' 'zramswap' 'zram')
|
|
|
|
depends=('systemd' 'bash')
|
|
|
|
replace=('zramswap')
|
|
|
|
backup=(etc/systemd-swap.conf)
|
|
|
|
install=$pkgname.install
|
2015-10-17 09:42:43 +08:00
|
|
|
source=("https://github.com/Nefelim4ag/${pkgname}/archive/${pkgver}.tar.gz")
|
2017-03-13 18:33:50 +08:00
|
|
|
md5sums=('9b7d8c57bc93e0e390517dc4b9e1898f')
|
2016-05-15 15:59:20 +08:00
|
|
|
|
2016-10-27 16:19:58 +08:00
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
2017-03-13 18:33:50 +08:00
|
|
|
make PREFIX="$pkgdir" install
|
|
|
|
|
|
|
|
install -dm755 "$pkgdir"/usr/lib
|
|
|
|
mv "$pkgdir"/lib/systemd "$pkgdir"/usr/lib/systemd
|
|
|
|
rmdir "$pkgdir"/lib
|
2014-05-25 06:55:46 +08:00
|
|
|
}
|