summaryrefslogtreecommitdiff
path: root/community/glpng/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/glpng/PKGBUILD')
-rw-r--r--community/glpng/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/community/glpng/PKGBUILD b/community/glpng/PKGBUILD
index 0c57c67ae..0c604e544 100644
--- a/community/glpng/PKGBUILD
+++ b/community/glpng/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 55485 2011-09-13 02:26:22Z ebelanger $
+# $Id: PKGBUILD 63590 2012-02-05 11:58:33Z ibiru $
# Maintainer: Allan McRae <allan@archlinux.org>
pkgname=glpng
pkgver=1.45
-pkgrel=4
+pkgrel=5
pkgdesc="Toolkit for loading PNG images as OpenGL textures"
arch=('i686' 'x86_64')
url="http://www.fifi.org/doc/libglpng-dev/glpng.html"
@@ -12,19 +12,13 @@ depends=('libpng' 'libgl')
makedepends=('mesa')
source=(http://ftp.de.debian.org/debian/pool/main/libg/libglpng/libglpng_${pkgver}.orig.tar.gz
Makefile
- libglpng-1.45-debian.patch
- libpng14.patch
+ libpng15.patch
license)
-md5sums=('9e0daad8e39fbf3179c73c0d3f74f104'
- '0b24e9cb527d4ed1c43dd743d49d2b54'
- '51ee01e61a70d91977b791a03e579b0f'
- '50e00b9de0b376d7fb5fd812dc7beac9'
- 'cd066652a6e5dbd7c1fc303b8e03417a')
-
build() {
cd "$srcdir/libglpng-1.45.orig"
- patch -Np1 -i "$srcdir/libglpng-1.45-debian.patch"
- patch -Np1 -i "$srcdir/libpng14.patch"
+
+ patch -Np1 -i "$srcdir/libpng15.patch"
+
cp "$srcdir/Makefile" .
make libglpng.so.1.45
}
@@ -35,3 +29,7 @@ package() {
install -Dm644 "$srcdir/license" \
"$pkgdir/usr/share/licenses/glpng/license"
}
+md5sums=('9e0daad8e39fbf3179c73c0d3f74f104'
+ '0b24e9cb527d4ed1c43dd743d49d2b54'
+ 'f3f0c0a3f867c5856d922c18677ef2a2'
+ 'cd066652a6e5dbd7c1fc303b8e03417a')