summaryrefslogtreecommitdiff
path: root/community/ccrtp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-13 23:15:14 +0000
committerroot <root@rshg054.dnsready.net>2012-02-13 23:15:14 +0000
commit16e845de1bbf76ab48a02bfaa21730f45e6afaaa (patch)
tree29a9ad28230397e62bdb0ab5cd970763a6033f69 /community/ccrtp/PKGBUILD
parent0020cc650ff973f269f23332e82fc097254d0adc (diff)
Mon Feb 13 23:15:14 UTC 2012
Diffstat (limited to 'community/ccrtp/PKGBUILD')
-rw-r--r--community/ccrtp/PKGBUILD37
1 files changed, 22 insertions, 15 deletions
diff --git a/community/ccrtp/PKGBUILD b/community/ccrtp/PKGBUILD
index 13ac0026b..c95d26ca8 100644
--- a/community/ccrtp/PKGBUILD
+++ b/community/ccrtp/PKGBUILD
@@ -1,34 +1,41 @@
-# $Id: PKGBUILD 47033 2011-05-14 10:27:41Z jelle $
+# $Id: PKGBUILD 64382 2012-02-12 15:47:02Z arodseth $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor:
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=ccrtp
pkgver=1.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="GNU ccRTP"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/ccrtp"
+arch=('x86_64' 'i686')
+url="http://www.gnu.org/software/ccrtp/"
license=('GPL' 'custom')
depends=('commoncpp2' 'zlib' 'libxml2' 'libgcrypt')
options=('!libtool')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz gcc46.patch)
-md5sums=('3410d2f43a6a28679bd091ed8b2ed228'
- '17ce9c79c4518f35f484b539bcff570d')
+install=$pkgname.install
+source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'gcc46.patch')
+sha256sums=('365feddd276c78104600204ae6db4e76c66036df1e5b905e855239daac6a2473'
+ '4ac9385228dc8b8893e0868d5a06477e4009e9fb2dc191460406da58fc6a6fb3')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i $srcdir/gcc46.patch
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/gcc46.patch"
# arch64 fix from Mandriva
[ "$CARCH" == "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fpermissive"
- ./configure --prefix=/usr
+ export LDFLAGS="$LDFLAGS `pkg-config --libs libccgnu2`"
+ ./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -D -m644 COPYING.addendum ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
- rm -rf ${pkgdir}/usr/share/info/dir
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING.addendum "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ #rm -rf "$pkgdir/usr/share/info/dir"
}
+
+# vim:set ts=2 sw=2 et: