mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
systemd-swap: update to 3.5.5
This commit is contained in:
parent
53fa7c2c2c
commit
5a7dd41d0a
@ -1,5 +1,5 @@
|
|||||||
pkgname=systemd-swap
|
pkgname=systemd-swap
|
||||||
pkgver=3.5.1
|
pkgver=3.5.5
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions."
|
pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -8,16 +8,14 @@ license=('GPL3')
|
|||||||
conflicts=('systemd-loop-swapfile' 'zramswap' 'zram')
|
conflicts=('systemd-loop-swapfile' 'zramswap' 'zram')
|
||||||
depends=('systemd' 'bash')
|
depends=('systemd' 'bash')
|
||||||
replace=('zramswap')
|
replace=('zramswap')
|
||||||
backup=(etc/systemd-swap.conf)
|
backup=('etc/systemd/swap.conf')
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
source=("https://github.com/Nefelim4ag/${pkgname}/archive/${pkgver}.tar.gz")
|
source=("https://github.com/Nefelim4ag/${pkgname}/archive/${pkgver}.tar.gz")
|
||||||
md5sums=('487d1d233c288eda6f6eb84bd7e383da')
|
md5sums=('ccf69000e0b28cfce1255ad600b5278a')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${pkgname}-${pkgver}
|
||||||
make PREFIX="$pkgdir" install
|
make PREFIX="$pkgdir" install
|
||||||
|
|
||||||
install -dm755 "$pkgdir"/usr/lib
|
mv "$pkgdir"/lib "$pkgdir"/usr/lib
|
||||||
mv "$pkgdir"/lib/systemd "$pkgdir"/usr/lib/systemd
|
|
||||||
rmdir "$pkgdir"/lib
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user