blob: 812b57721de2da403e143a3fa1afffece70bdd8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id$
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=libmng
pkgver=2.0.2
pkgrel=3
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
arch=('i686' 'x86_64')
url="http://www.libmng.com/"
license=('custom')
depends=('lcms2')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc}
libmng-stdio.patch)
sha1sums=('7dd35369ff5916e1823cbacef984ab1b87714b69'
'SKIP'
'2f8b472d53791ba3a44dab9b18fb215e8b19dd77')
prepare() {
cd ${pkgname}-${pkgver}
patch -p5 -i "${srcdir}/libmng-stdio.patch"
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|