summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/librefetch/librefetch3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index f963361..67f4491 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -364,6 +364,9 @@ prepare() { :; }
build() { msg "Starting mksource()"; mksource; }
check() { :; }
package() { cp -a "$srcdir"/*/ "$pkgdir/"; }
+if [[ "$(declare -p pkgname 2> /dev/null)" =~ ^"declare -a " ]]
+then for pkg in ${pkgname[*]} ; do unset package_${pkg} ; done ;
+fi
'
modified_pkgbuild() {