You are not logged in.
Hi there... ![]()
I uploaded today a package to AUR
https://aur.archlinux.org/packages/masalla-icon-theme/
I changed a few things in a new PKGBUILD and uploaded that to AUR again.
I did that with:
$ mksrcinfo
$ git commit -am 'Update PKGBUILD'
$ git push
Now i can see when i install the packages the pkgver changed always in .-1
It should be 0.8
This is the PKGBUILD:
pkgname=masalla-icon-theme
pkgver=0.8
pkgrel=2
pkgdesc="Latest flat design theme by Hayder Majid"
arch=('any')
url="https://github.com/hayderctee/masalla-icon-theme"
license=('GPL3')
depends=()
makedepends=('git')
optdepends=()
provides=('masalla-icon-theme-git')
conflicts=('masalla-icon-theme-git')
source=('git+https://github.com/hayderctee/masalla-icon-theme.git')
sha256sums=('SKIP')pkgver() {
cd $srcdir/$_pkgname
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}package() {
# create theme dirs
install -d -m 755 "$pkgdir"/usr/share/icons/Masalla# install theme
cd $srcdir/$_pkgname/masalla-icon-theme
cp -r . "$pkgdir"/usr/share/icons/Masalla
}
Why is that?
Thanks
Last edited by MichaelTiebesl (2015-11-07 06:41:08)
| Gitarist | Linux gebruiker | Sportliefhebber | Optimist | Dromer | Echtgenoot | Vader |
Offline
Not a Pacman issue, moving to AUR Issues...
Offline
The whole point of a pkgver() function is to change the pkgver on each build. That's where your problem is.
Last edited by Scimmia (2015-11-07 06:30:39)
Offline
Sorry @jasonwryan i tought i check it if it was in the AUR issues...next time double check ![]()
Thanks @Scimmia to point me, i see what you mean.
| Gitarist | Linux gebruiker | Sportliefhebber | Optimist | Dromer | Echtgenoot | Vader |
Offline