mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
31 lines
No EOL
915 B
Bash
31 lines
No EOL
915 B
Bash
# $Id: $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
|
|
pkgname=glpng
|
|
pkgver=1.45
|
|
pkgrel=1
|
|
pkgdesc="Toolkit for loading PNG images as OpenGL textures"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.fifi.org/doc/libglpng-dev/glpng.html"
|
|
license=('custom')
|
|
depends=('libpng' 'zlib')
|
|
makedepends=('mesa')
|
|
source=(http://ftp.de.debian.org/debian/pool/main/libg/libglpng/libglpng_${pkgver}.orig.tar.gz
|
|
Makefile
|
|
libglpng-1.45-debian.patch
|
|
license)
|
|
md5sums=('9e0daad8e39fbf3179c73c0d3f74f104'
|
|
'0b24e9cb527d4ed1c43dd743d49d2b54'
|
|
'51ee01e61a70d91977b791a03e579b0f'
|
|
'cd066652a6e5dbd7c1fc303b8e03417a')
|
|
|
|
build() {
|
|
cd $srcdir/libglpng-1.45.orig
|
|
patch -Np1 -i $srcdir/libglpng-1.45-debian.patch
|
|
|
|
make -f $srcdir/Makefile libglpng.so.1.45
|
|
make -f $srcdir/Makefile DESTDIR=$pkgdir/usr install
|
|
|
|
install -Dm644 $srcdir/license \
|
|
$pkgdir/usr/share/licenses/glpng/license
|
|
} |