summaryrefslogtreecommitdiff
path: root/community/libnsbmp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libnsbmp/PKGBUILD')
-rw-r--r--community/libnsbmp/PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/community/libnsbmp/PKGBUILD b/community/libnsbmp/PKGBUILD
index 8193e85dd..6b01b1638 100644
--- a/community/libnsbmp/PKGBUILD
+++ b/community/libnsbmp/PKGBUILD
@@ -1,27 +1,29 @@
-# $Id: PKGBUILD 59663 2011-11-29 08:59:46Z arodseth $
+# $Id: PKGBUILD 89122 2013-04-26 23:30:55Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
pkgname=libnsbmp
-pkgver=0.0.3
-pkgrel=3
-pkgdesc="Decoding library for BMP and ICO image file formats"
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Decoding library for BMP and ICO image file formats'
arch=('x86_64' 'i686')
-url="http://www.netsurf-browser.org/projects/libnsbmp/"
+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=('52eef940713a4c8a7afbb6888583057c')
+makedepends=('netsurf-buildsystem')
+source=("http://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
+sha256sums=('fb576af6bd4d02d3626d5c2092bc06c80b2a80089a14decf40c813d9ec80ddc0')
build() {
- cd "$srcdir/$pkgname-$pkgver-src"
+ cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr COMPONENT_TYPE="lib-shared"
make PREFIX=/usr COMPONENT_TYPE="lib-static"
}
package() {
- cd "$srcdir/$pkgname-$pkgver-src"
+ cd "$srcdir/$pkgname-$pkgver"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared"
make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static"