Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New release #6

Merged
merged 4 commits into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions iwd-firewalld-zone/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Maintainer: Vince van Oosten <techhazard@codeforyouand.me>
# Maintainer: Vince van Oosten <techhazard AT codeforyouand.me>
# Contributor: Rhys Perry <rhysperry111 AT gmail.com>
pkgname=iwd-firewalld-zone-git
_srcname=iwd-firewalld-zone
pkgver=1.0.0
pkgver=1.1.0
pkgrel=1
pkgdesc='Automatically move wireless interface into firewalld zone based on setting in relevant iwd network file '
arch=(any)
Expand All @@ -18,11 +18,11 @@ sha256sums=('SKIP')


pkgver() {
cd "${_srcname}"
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
( cd "${_srcname}" && git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' )
}

package() {
install -Dm 755 -t "${pkgdir}"/usr/bin/ "${_srcname}"/bin/*
install -Dm 644 -t "${pkgdir}"/usr/lib/systemd/system/ "${_srcname}"/systemd/system/*
cd "${srcdir}/${_srcname}/iwd-firewalld-zone/" || exit
install -Dm 755 -t "${pkgdir}"/usr/bin/ ./bin/*
install -Dm 644 -t "${pkgdir}"/usr/lib/systemd/system/ ./systemd/system/*
}