summaryrefslogtreecommitdiff
path: root/pcr/openipmi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openipmi/PKGBUILD')
-rw-r--r--pcr/openipmi/PKGBUILD40
1 files changed, 38 insertions, 2 deletions
diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD
index 1dcb359ee..9c3c73ed8 100644
--- a/pcr/openipmi/PKGBUILD
+++ b/pcr/openipmi/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname2=${pkgname:4}
_pkgname=${_pkgname1^}${_pkgname2^^}
pkgver=2.0.19
_pkgver=${pkgver::3}
-pkgrel=1
+pkgrel=2
pkgdesc="Allow access to platform information using Intelligent Platform Management Interface (${_pkgname2^^})"
arch=(
i686
@@ -37,7 +37,43 @@ sha512sums=ee95eb64b7cde3f22c8444a5f8e3172808b0bb9a3a7034c1302c5f568c1cc0852a44c
prepare() {
cd $srcdir/$_pkgname-$pkgver
- sed -i '/on Linux/ s|Linux|GNU/Linux|' $(grep -rl Linux)
+
+ # remove Open Source term
+ sed -i 's|Open Source / ||;
+ s|open source / ||;
+ s|Open Source|Free Software|;
+ s|open source|free software|;
+ ' $(grep -ril 'open source')
+ #sed -i 's|OpenSource / ||;
+ # s|opensource / ||;
+ # s|OpenSource|FreeSoftware|;
+ # s|opensource|freesoftware|;
+ # ' $(grep -ril opensource)
+
+ # remove Linux term
+ sed -i '/, Linux/ s|Linux|GNU/Linux|;
+ /And Linux/ s|Linux|GNU/Linux|;
+ /and Linux/ s|Linux|GNU/Linux|;
+ /For Linux/ s|Linux|GNU/Linux|;
+ /for Linux/ s|Linux|GNU/Linux|;
+ /Like Linux/ s|Linux|GNU/Linux|;
+ /like Linux/ s|Linux|GNU/Linux|;
+ /Linux,/ s|Linux|GNU/Linux|;
+ /Linux and/ s|Linux|GNU/Linux|;
+ /Linux distribution/ s|Linux|GNU/Linux|;
+ /Linux machine/ s|Linux|GNU/Linux|;
+ /Linux operating/ s|Linux|GNU/Linux|;
+ /Linux OS/ s|Linux|GNU/Linux|;
+ /Linux specific/ s|Linux|GNU/Linux|;
+ /Linux system/ s|Linux|GNU/Linux|;
+ /Under Linux/ s|Linux|GNU/Linux|;
+ /under Linux/ s|Linux|GNU/Linux|;
+ /On Linux/ s|Linux|GNU/Linux|;
+ /on Linux/ s|Linux|GNU/Linux|;
+ s|GNU/GNU|GNU|;
+ s|GNU/Linux kernel|Linux kernel|;
+ s|GNU/Linux specific kernel|Linux specific kernel|;
+ ' $(grep -rl Linux)
}
build() {