summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f49d74be047..7424e2abd62 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Mon Aug 29 09:22:47 UTC 2016
pkgbase = libgnomecups
pkgdesc = GNOME CUPS library
pkgver = 0.2.3
- pkgrel = 13
+ pkgrel = 14
url = http://www.gnome.org/
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index aa989e7efa5..3584b34377e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
-# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Paulius Palevicius <paulius@birzai.com>
pkgname=libgnomecups
pkgver=0.2.3
-pkgrel=13
+pkgrel=14
pkgdesc='GNOME CUPS library'
arch=('x86_64' 'i686')
license=('LGPL' 'GPL')
@@ -21,7 +21,7 @@ md5sums=('dc4920c15c9f886f73ea74fbff0ae48b'
'de094a91df09f2136f13e5380b9bfa84'
'b9e1d6a5eda9ecb98a1fcb6f8d0e9b4d')
-build() {
+prepare() {
cd "$pkgname-$pkgver"
# This avoids generating huge 'IPP request failed with status 1030' lines
@@ -30,8 +30,13 @@ build() {
# Gentoo seems to have taken over the development
patch -Np1 -i "$srcdir/gentoo1.patch"
patch -Np1 -i "$srcdir/gentoo2.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr
+ export CFLAGS="$CFLAGS -w"
make
}