[arch-commits] Commit in agg/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Apr 30 10:05:33 UTC 2016


    Date: Saturday, April 30, 2016 @ 12:05:31
  Author: arodseth
Revision: 173109

upgpkg: agg 2.5-8

Modified:
  agg/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-30 10:05:03 UTC (rev 173108)
+++ PKGBUILD	2016-04-30 10:05:31 UTC (rev 173109)
@@ -1,17 +1,18 @@
 # $Id$
-# Maintainer: Jonathan Conder <jonno dot conder at gmail dot com>
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
 
 pkgname=agg
 pkgver=2.5
-pkgrel=7
-pkgdesc="A High Quality Rendering Engine for C++"
-arch=('i686' 'x86_64')
-url="http://pkgs.fedoraproject.org/cgit/agg.git"
+pkgrel=8
+pkgdesc='High Quality Rendering Engine for C++'
+arch=('x86_64' 'i686')
+url='http://pkgs.fedoraproject.org/cgit/agg.git'
 license=('GPL')
 depends=('gcc-libs' 'sdl' 'freetype2')
 provides=('antigrain')
 replaces=('antigrain')
-source=("https://sources.archlinux.org/other/community/agg/${pkgname}-free-${pkgver}.tar.gz"
+source=("https://sources.archlinux.org/other/community/agg/$pkgname-free-$pkgver.tar.gz"
         agg-2.4-depends.patch
         agg-2.5-pkgconfig.patch
         agg-2.5-autotools.patch
@@ -51,7 +52,8 @@
          '703351fc0af2d5e21ec3d67fcf112d0d')
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd "$pkgname-$pkgver"
+
   patch -p1 -i ../agg-2.4-depends.patch
   patch -p1 -i ../agg-2.5-pkgconfig.patch
   patch -p0 -i ../agg-2.5-autotools.patch
@@ -78,12 +80,14 @@
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "$pkgname-$pkgver"
+
   ./configure --prefix=/usr --disable-static
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
 }
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list