Skip to content

Commit

Permalink
🔖 cachyos-sysctl-manager: Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Dec 29, 2024
1 parent f6d130b commit 14c4980
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
12 changes: 4 additions & 8 deletions cachyos-sysctl-manager/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
pkgbase = cachyos-sysctl-manager
pkgdesc = Manage linux kernel sysctl options
pkgver = 1.1.0
pkgver = 1.1.1
pkgrel = 1
url = https://github.com/cachyos/sysctl-manager
arch = aarch64
arch = x86_64
arch = x86_64_v3
groups = cachyos
license = GPLv3
license = GPL-3.0-or-later
makedepends = cmake
makedepends = ninja
makedepends = git
makedepends = polkit-qt6
depends = qt6-base
depends = polkit
provides = cachyos-sysctl-manager
conflicts = cachyos-sysctl-manager
options = strip
source = sysctl-manager-1.1.0.tar.gz::https://github.com/cachyos/sysctl-manager/archive/v1.1.0.tar.gz
sha256sums = 8b1ff5a0f2a4d631116e8b71e288240ac3803ba4dcde4a16888b73bec8ca5ea4
source = sysctl-manager-1.1.1.tar.gz::https://github.com/cachyos/sysctl-manager/archive/v1.1.1.tar.gz
sha256sums = 8c656ae12735eab8d01127589c80b98e4a31108a501aa2b1c11b4ce29b6fca8c

pkgname = cachyos-sysctl-manager
20 changes: 5 additions & 15 deletions cachyos-sysctl-manager/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,42 +1,32 @@
# Maintainer: Vladislav Nepogodin <[email protected]>

pkgname=cachyos-sysctl-manager
pkgver=1.1.0
pkgver=1.1.1
pkgrel=1
pkgdesc="Manage linux kernel sysctl options"
arch=(aarch64 x86_64 x86_64_v3)
arch=(aarch64 x86_64)
url="https://github.com/cachyos/sysctl-manager"
license=(GPLv3)
license=(GPL-3.0-or-later)
depends=('qt6-base' 'polkit')
makedepends=('cmake' 'ninja' 'git' 'polkit-qt6')
groups=('cachyos')
source=("sysctl-manager-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('8b1ff5a0f2a4d631116e8b71e288240ac3803ba4dcde4a16888b73bec8ca5ea4')
provides=('cachyos-sysctl-manager')
conflicts=('cachyos-sysctl-manager')
options=(strip)
sha256sums=('8c656ae12735eab8d01127589c80b98e4a31108a501aa2b1c11b4ce29b6fca8c')

build() {
cd ${srcdir}/sysctl-manager-${pkgver}

CFLAGS=${CFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}
CXXFLAGS=${CXXFLAGS/-Wp,-D_GLIBCXX_ASSERTIONS}

_cpuCount=$(grep -c -w ^processor /proc/cpuinfo)

cmake -S . -Bbuild \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build --parallel $_cpuCount
cmake --build build
}

package() {
cd ${srcdir}/sysctl-manager-${pkgver}
DESTDIR="${pkgdir}" cmake --build build --target install

install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set sw=2 sts=2 et:

0 comments on commit 14c4980

Please sign in to comment.