PKGBUILDs/community/libnsbmp/PKGBUILD

21 lines
670 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Paulo Matias <matiasΘarchlinux-br·org>
pkgname=libnsbmp
pkgver=0.0.1
pkgrel=1
pkgdesc="Decoding library for BMP and ICO image file formats"
arch=("i686" "x86_64")
url="http://www.netsurf-browser.org/projects/libnsbmp"
license=('MIT')
depends=('glibc')
source=("http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz")
md5sums=('61e1e5703580c1bc7d950a1aacea7bad')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr || return 1
make install PREFIX=/usr DESTDIR="${pkgdir}" || return 1
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}