diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-29 15:25:14 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-29 15:25:14 -0300 |
commit | 0a22aa90822479bd61277d0b62f89e10d30d6955 (patch) | |
tree | d7a7d27fedc3e2b7607d796d59c59d74784cb916 /pcr | |
parent | 7e8f201da4892266950cc36db0c939df8d44eb6e (diff) | |
download | abslibre-0a22aa90822479bd61277d0b62f89e10d30d6955.tar.gz abslibre-0a22aa90822479bd61277d0b62f89e10d30d6955.tar.bz2 abslibre-0a22aa90822479bd61277d0b62f89e10d30d6955.zip |
openipmi: fixing pkg
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/openipmi/PKGBUILD | 40 |
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() { |