diff options
Diffstat (limited to 'community/libwapcaplet/PKGBUILD')
-rw-r--r-- | community/libwapcaplet/PKGBUILD | 12 |
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 } |