Skip to content

Commit

Permalink
New release (#6)
Browse files Browse the repository at this point in the history
* fix pkgver function

* fix email

* increment release number

* update packaging logic
  • Loading branch information
techhazard authored Nov 12, 2024
1 parent 7178b4f commit 89227ea
Showing 1 changed file with 6 additions and 6 deletions.
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/*
}

0 comments on commit 89227ea

Please sign in to comment.