index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-01-10 13:40:31 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-21 19:30:45 -0600 |
commit | bf46e04614b3740eea4a5e0d44767f57e1cffa4d (patch) | |
tree | 4a1fb5d578a539e42a1d73de1b3d83edbf17a58a /scripts/makepkg.sh.in | |
parent | 5c46ba14f780474e2b04b54aa7b0c8bf60de2b5b (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 7 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index a2d9c837..c01ae0cb 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -935,9 +935,12 @@ write_pkginfo() { echo "# $(LC_ALL=C date -u)" echo "pkgname = $1" (( SPLITPKG )) && echo pkgbase = $pkgbase - echo "pkgver = $pkgver-$pkgrel" + if [[ $epoch ]]; then + echo "pkgver = $epoch:$pkgver-$pkgrel" + else + echo "pkgver = $pkgver-$pkgrel" + fi echo "pkgdesc = $pkgdesc" - [[ $epoch ]] && echo "epoch = $epoch" echo "url = $url" echo "builddate = $builddate" echo "packager = $packager" |