summaryrefslogtreecommitdiff
path: root/core/popt
diff options
context:
space:
mode:
Diffstat (limited to 'core/popt')
-rw-r--r--core/popt/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/core/popt/PKGBUILD b/core/popt/PKGBUILD
index 41f132a87..09ec1ca1a 100644
--- a/core/popt/PKGBUILD
+++ b/core/popt/PKGBUILD
@@ -1,12 +1,13 @@
-# $Id: PKGBUILD 105825 2011-01-12 14:39:27Z stephane $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# $Id: PKGBUILD 142191 2011-11-06 02:28:05Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=popt
pkgver=1.16
-pkgrel=3
+pkgrel=4
pkgdesc="A commandline option parser"
arch=('i686' 'x86_64' 'mips64el')
url="http://rpm5.org"
@@ -28,14 +29,14 @@ package() {
make DESTDIR="${pkgdir}" install
# move libs in /lib
- install -Dm755 ${pkgdir}/usr/lib/libpopt.so.0.0.0 \
+ install -Dm755 "${pkgdir}"/usr/lib/libpopt.so.0.0.0 \
${pkgdir}/lib/libpopt.so.0.0.0
- rm ${pkgdir}/usr/lib/libpopt.so*
- ln -sf /lib/libpopt.so ${pkgdir}/usr/lib/libpopt.so
- ln -sf libpopt.so.0 ${pkgdir}/lib/libpopt.so
- ln -sf libpopt.so.0.0.0 ${pkgdir}/lib/libpopt.so.0
+ rm "${pkgdir}"/usr/lib/libpopt.so*
+ ln -sf /lib/libpopt.so "${pkgdir}"/usr/lib/libpopt.so
+ ln -sf libpopt.so.0 "${pkgdir}"/lib/libpopt.so
+ ln -sf libpopt.so.0.0.0 "${pkgdir}"/lib/libpopt.so.0
# install license
- install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}