-
-
Save zenofile/2105864922abb515617bd63e1b897328 to your computer and use it in GitHub Desktop.
systemd-swap PKGBUILD branch test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> | |
pkgname=systemd-swap-git | |
pkgver=4.0.1.r31.gd813ae2 | |
pkgrel=1 | |
pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions" | |
arch=('any') | |
url="https://github.com/Nefelim4ag/systemd-swap" | |
license=('GPL3') | |
depends=('bash' 'systemd') | |
makedepends=('git') | |
provides=('systemd-swap') | |
conflicts=('systemd-swap') | |
backup=('etc/systemd/swap.conf') | |
source=("git+https://github.com/zenofile/systemd-swap#branch=man") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "systemd-swap" | |
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
package() { | |
cd "systemd-swap" | |
make prefix="$pkgdir" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment