summaryrefslogtreecommitdiff
path: root/extra/xplc
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/xplc
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/xplc')
-rw-r--r--extra/xplc/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/xplc/PKGBUILD b/extra/xplc/PKGBUILD
new file mode 100644
index 000000000..402abc2ca
--- /dev/null
+++ b/extra/xplc/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 97257 2010-10-28 04:11:13Z allan $
+# Maintainer: dorphell <dorphell@archlinux.org>
+pkgname=xplc
+pkgver=0.3.13
+pkgrel=3
+pkgdesc="Cross-Platform Lightweight Components"
+arch=(i686 x86_64)
+url="http://xplc.sourceforge.net"
+license=('LGPL')
+depends=('gcc-libs')
+source=(http://downloads.sourceforge.net/sourceforge/xplc/$pkgname-$pkgver.tar.gz)
+md5sums=('39da3270527c8712b8e8fcf03768d29f')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man --without-libuuid
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ mv $pkgdir/usr/share/man/man1/{uuidgen.1,uuidcdef.1}
+ rm -f $pkgdir/usr/bin/uuidgen
+}