summaryrefslogtreecommitdiff
path: root/community/xplc/PKGBUILD
blob: d7f452021749ab46f73da7b50c66ab54cb60522c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 98918 2013-10-21 12:15:57Z bluewind $
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=xplc
pkgver=0.3.13
pkgrel=5
pkgdesc="Cross-Platform Lightweight Components"
arch=('i686' 'x86_64')
url="http://xplc.sourceforge.net"
license=('LGPL')
depends=('gcc-libs')
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz")
md5sums=('39da3270527c8712b8e8fcf03768d29f')
options=('!buildflags')

build() {
  cd $srcdir/$pkgname-$pkgver
  
  ./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
}