summaryrefslogtreecommitdiff
path: root/community/libwapcaplet/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-02 04:35:55 +0000
committerroot <root@rshg054.dnsready.net>2011-08-02 04:35:55 +0000
commitbf35116f9d203dcafce808a6c7b3dd5a0db8afbc (patch)
treef9551a1d3c67d2113cc5fc5c3f8816bcbaad0540 /community/libwapcaplet/PKGBUILD
parent1173ff2dba7d0fd3c45f170a5e353a76b7a5da2f (diff)
Tue Aug 2 04:35:55 UTC 2011
Diffstat (limited to 'community/libwapcaplet/PKGBUILD')
-rw-r--r--community/libwapcaplet/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/libwapcaplet/PKGBUILD b/community/libwapcaplet/PKGBUILD
index f5d57aa2f..6dc92c5ce 100644
--- a/community/libwapcaplet/PKGBUILD
+++ b/community/libwapcaplet/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=libwapcaplet
pkgver=0.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A string internment library with rapid string comparison."
arch=('i686' 'x86_64')
url="http://www.netsurf-browser.org/projects/libwapcaplet/"
@@ -12,14 +12,16 @@ source=(http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-sr
md5sums=('c21975b81bcdafa60ad6b97b95925efe')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}-src
+ cd "${srcdir}"/${pkgname}-${pkgver}-src
- make
+ make PREFIX=/usr COMPONENT_TYPE="lib-shared"
+ make PREFIX=/usr COMPONENT_TYPE="lib-static"
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}-src
+ cd "${srcdir}"/${pkgname}-${pkgver}-src
- make PREFIX=/usr DESTDIR=${pkgdir} install
+ make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-shared"
+ make install PREFIX=/usr DESTDIR="${pkgdir}" COMPONENT_TYPE="lib-static"
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}