diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgbase = sip4-sip-provides pkgdesc = Metapackage: Depends on 'sip4' and makes 'sip4' provide 'sip'-dependency (with $pkgver automatically bumped to the one if the installed 'sip4' during build). pkgver = 4.19.25 pkgrel = 1 - epoch = 2 + epoch = 3 url = https://archlinux.org/packages/extra/x86_64/sip4/ arch = any license = custom: public domain. @@ -2,7 +2,7 @@ _pkgname=sip4-sip-provides pkgname="${_pkgname}" -epoch=2 +epoch=3 _pkgver=4 pkgver=4.19.25 pkgrel=1 @@ -41,7 +41,7 @@ pkgver() { LANG=C export LC_ALL export LANG - pacman -Qi sip4 | grep -E '^Version[[:space:]]*:' | sed -E 's|^.*:([^:]*)$|\1|g' | tr -d '[[:space:]]' | sed -E 's|\-[^-]*$||' + pacman -Q sip4 | cut -d ' ' -f 2 | sed -E 's|^.*:||g' | sed -E 's|-.*||' } package() { |