diff options
author | Jeremy Gust | 2024-01-28 23:05:03 -0700 |
---|---|---|
committer | Jeremy Gust | 2024-01-28 23:05:03 -0700 |
commit | 984eba1f4d35d258f075c354ed741a0a9521fe8b (patch) | |
tree | 539b8b00365545cd7a28fd768bbf12967d2a502b /PKGBUILD | |
parent | 4e8b873d27a05919580189c02eb2ad762877d7c5 (diff) | |
download | aur-984eba1f4d35d258f075c354ed741a0a9521fe8b.tar.gz |
Added SPDX
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -9,24 +9,24 @@ pkgver=0.4.4 pkgrel=2 pkgdesc="yet another network load monitor" url="https://github.com/mattthias/slurm" -license=("GPL2") +license=("GPL-2.0-only") arch=('x86_64') depends=('ncurses') makedepends=('meson') conflicts=('slurm-llnl') #both packages have manpage "slurm.1" -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/upstream/${pkgver}.tar.gz") +source=("$pkgname-$pkgver.tar.gz::$url/archive/upstream/$pkgver.tar.gz") sha256sums=('2f846c9aa16f86cc0d3832c5cd1122b9d322a189f9e6acf8e9646dee12f9ac02') build() { - # Sets CFLAGS to the makepkg.conf default (as of 2023-9-9) without "-fexceptions" - # as it causes a segfault when slurm is run. - CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt \ + # Sets CFLAGS to the makepkg.conf default (as of 2023-9-9) without "-fexceptions" + # as it causes a segfault when slurm is run. + CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt \ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection" - arch-meson ${pkgname}-upstream-${pkgver} build - meson compile -C build + arch-meson $pkgname-upstream-$pkgver build + meson compile -C build } package() { - meson install -C build --destdir "$pkgdir" + meson install -C build --destdir "${pkgdir}" } |