Oops. Did not realise there is a pkgver function and that it can also updates the PKGBUILD file with the new pkgver value.
Search Criteria
Package Details: pixman-git 0.31.1.2145.fedd6b1-1
Package Actions
| Package Base: | pixman-git |
|---|---|
| Description: | The pixel-manipulation library for X and cairo |
| Upstream URL: | http://pixman.org/ |
| Category: | system |
| Licenses: | |
| Submitter: | aboe |
| Maintainer: | aboe |
| Last Packager: | None |
| Votes: | 5 |
| First Submitted: | 2008-12-10 21:23 |
| Last Updated: | 2013-08-10 07:18 |
Latest Comments
Comment by jamesan
Comment by jamesan
The latest tagged release is 32.4.2216.82d0946.
Comment by aboe
@scimmia,
thanks for fixing the pgkver() routine and your feedback.
Updated the package.
Comment by Scimmia
Proposed PKGBUILD: http://paste.debian.net/23955/
Comment by Scimmia
autogen.sh runs configure, why are you running it a second time?
_realname is never defined, but used in the package function. The license file is getting installed to the wrong place.
License should be MIT
Are all of the comments really necessary? This isn't a PKGBUILD tutorial.
The pkgver is wrong. Having pixman. in front of it pretty much kills vercmp to start with, but then it gets labeled as 0.30.0 when it's really 0.31.1.
Comment by aboe
updated pkgbuild for pacman 4.1 with better git checkout options.
all checks pass
Comment by Siosm
I made a clean one from the PKGBUILD in extra: http://git.siosm.fr/siosm-aur/plain/pixman-git/PKGBUILD
Yours is missing the check part.
Comment by aboe
Thanks EdwardXXIV updated the PKGBUILD
Comment by EdwardXXIV
New PKGBUILD here:
pkgname=pixman-git
_realname=pixman
pkgver=20120708
_realver=0.27.1
pkgrel=1
pkgdesc="The pixel-manipulation library for X and cairo"
arch=(i686 x86_64)
url="http://pixman.org/"
license=('GPL')
depends=(glibc)
makedepends=('git' autoconf automake libtool pkgconfig)
provides=("pixman=${_realver}")
conflicts=(pixman)
options=('!libtool')
source=()
md5sums=()
_gitroot="git://anongit.freedesktop.org/git/pixman"
_gitname="pixman"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
./autogen.sh
./configure --prefix=/usr --disable-static
make
}
package() {
cd "$srcdir/$_gitname-build"
make DESTDIR="$pkgdir/" install
install -m755 -d "${pkgdir}/usr/share/licenses/${_realname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${_realname}/"
}