index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Denton Liu <liu.denton@gmail.com> | 2020-06-25 19:29:40 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-06-26 16:00:26 +1000 |
commit | 6b9c1b4d54225b4c2808b5fadc2b6e779ae1916a (patch) | |
tree | 128ae819f77ffac93020b7ca2ecdd0d4de0e5eb8 /scripts | |
parent | 84723cab5dfc9b7f4594135295974f771ceb6e5e (diff) |
-rw-r--r-- | scripts/libmakepkg/srcinfo.sh.in | 5 |
diff --git a/scripts/libmakepkg/srcinfo.sh.in b/scripts/libmakepkg/srcinfo.sh.in index 6e783279..d1e39f7d 100644 --- a/scripts/libmakepkg/srcinfo.sh.in +++ b/scripts/libmakepkg/srcinfo.sh.in @@ -30,7 +30,7 @@ srcinfo_open_section() { printf '%s = %s\n' "$1" "$2" } -srcinfo_close_section() { +srcinfo_separate_section() { echo } @@ -94,7 +94,6 @@ srcinfo_write_global() { srcinfo_open_section 'pkgbase' "${pkgbase:-$pkgname}" srcinfo_write_section_details '' - srcinfo_close_section } srcinfo_write_package() { @@ -104,7 +103,6 @@ srcinfo_write_package() { srcinfo_open_section 'pkgname' "$1" srcinfo_write_section_details "$1" - srcinfo_close_section } write_srcinfo_header() { @@ -118,6 +116,7 @@ write_srcinfo_content() { srcinfo_write_global for pkg in "${pkgname[@]}"; do + srcinfo_separate_section srcinfo_write_package "$pkg" done } |