mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
22 lines
630 B
Bash
22 lines
630 B
Bash
pkgname=systemd-swap
|
|
pkgver=4.0.0
|
|
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
|
|
source=("https://github.com/Nefelim4ag/${pkgname}/archive/${pkgver}.tar.gz")
|
|
md5sums=('facad5bf3e088307e0ed3d4e88d504dc')
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make PREFIX="$pkgdir" install
|
|
|
|
mv "$pkgdir"/lib "$pkgdir"/usr/lib
|
|
}
|