mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/gap to 4.12.0-2
This commit is contained in:
parent
d07c0ac176
commit
266d599750
1 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
|||
pkgbase=gap
|
||||
pkgname=(gap gap-doc gap-packages)
|
||||
pkgver=4.12.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Groups, Algorithms, Programming: a system for computational discrete algebra'
|
||||
arch=(x86_64)
|
||||
url='https://www.gap-system.org/'
|
||||
|
@ -89,8 +89,8 @@ package_gap() {
|
|||
|
||||
# Add provides for bundled packages
|
||||
for _f in "$pkgdir"/usr/lib/gap/pkg/*/PackageInfo.g; do
|
||||
_pkg=$(cat $_f | grep PackageName | tr '\n' ' ' | cut -d '"' -f2 | tr '[:upper:]' '[:lower:]')
|
||||
_ver=$(cat $_f | grep Version | tr '\n' ' ' | cut -d '"' -f2)
|
||||
_pkg=$(cat $_f | sed -ze 's|:=\n|:=|g' | grep PackageName | tr '\n' ' ' | cut -d '"' -f2 | tr '[:upper:]' '[:lower:]')
|
||||
_ver=$(cat $_f | sed -ze 's|:=\n|:=|g' | grep Version | tr '\n' ' ' | cut -d '"' -f2)
|
||||
_prov="gap-$_pkg=${_ver/-/.}"
|
||||
provides+=($_prov)
|
||||
done
|
||||
|
@ -145,8 +145,8 @@ package_gap-packages() {
|
|||
|
||||
# Add provides for bundled packages
|
||||
for _f in "$pkgdir"/usr/lib/gap/pkg/*/PackageInfo.g; do
|
||||
_pkg=$(cat $_f | grep PackageName | tr '\n' ' ' | cut -d '"' -f2 | tr '[:upper:]' '[:lower:]')
|
||||
_ver=$(cat $_f | grep Version | tr '\n' ' ' | cut -d '"' -f2)
|
||||
_pkg=$(cat $_f | sed -ze 's|:=\n|:=|g' | grep PackageName | tr '\n' ' ' | cut -d '"' -f2 | tr '[:upper:]' '[:lower:]')
|
||||
_ver=$(cat $_f | sed -ze 's|:=\n|:=|g' | grep Version | tr '\n' ' ' | cut -d '"' -f2)
|
||||
_prov="gap-$_pkg=${_ver/-/.}"
|
||||
provides+=($_prov)
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue