index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | scripts/makepkg | 4 | ||||
-rw-r--r-- | src/pacman/package.c | 2 |
diff --git a/scripts/makepkg b/scripts/makepkg index 4a99b845..19d4e6b2 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -631,7 +631,9 @@ echo "pkgname = $pkgname" >>.PKGINFO echo "pkgver = $pkgver-$pkgrel" >>.PKGINFO echo "pkgdesc = $pkgdesc" >>.PKGINFO echo "url = $url" >>.PKGINFO -echo "license = $license" >>.PKGINFO +for it in "${license[@]}"; do + echo "license = $it" >>.PKGINFO +done echo "builddate = $builddate" >>.PKGINFO echo "packager = $packager" >>.PKGINFO echo "size = $size" >>.PKGINFO diff --git a/src/pacman/package.c b/src/pacman/package.c index dc3fe3e3..5c401dac 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -49,7 +49,7 @@ void dump_pkg_full(PM_PKG *pkg, int level) printf("Packager : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_PACKAGER)); printf("URL : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_URL)); - printf("License : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_LICENSE)); + PM_LIST_display("License :", alpm_pkg_getinfo(pkg, PM_PKG_LICENSE)); printf("Architecture : %s\n", (char *)alpm_pkg_getinfo(pkg, PM_PKG_ARCH)); printf("Size : %ld\n", (long int)alpm_pkg_getinfo(pkg, PM_PKG_SIZE)); |