mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 11:47:14 +08:00
32 lines
845 B
Bash
32 lines
845 B
Bash
|
#
|
||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
pkgname=xplc
|
||
|
pkgver=0.3.13
|
||
|
pkgrel=1
|
||
|
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
|
||
|
}
|