mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
868 B
Bash
31 lines
868 B
Bash
# $Id: PKGBUILD 27803 2009-02-26 02:11:33Z eric $
|
|
# Maintainer: Jeff Mickey <jeff@archlinux.org>
|
|
# Thanks to Alessio 'mOLOk' Bolognino
|
|
|
|
pkgname=libixp
|
|
pkgver=0.5
|
|
pkgrel=1
|
|
pkgdesc="A standalone client/server 9p library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.suckless.org/libs/libixp.html"
|
|
license=('MIT')
|
|
depends=('glibc')
|
|
options=(!makeflags)
|
|
source=(http://code.suckless.org/dl/libs/libixp-$pkgver.tar.gz)
|
|
md5sums=('2a394310c209605ba54ecf5eab518bff')
|
|
|
|
build() {
|
|
cd $srcdir/libixp-$pkgver
|
|
sed -i \
|
|
-e "/^PREFIX/s|=.*|= ${startdir}/pkg/usr|" \
|
|
-e "/^ ETC/s|=.*|= ${startdir}/pkg/etc|" \
|
|
-e "/^CFLAGS/s|=|+=|" \
|
|
-e "/^LDFLAGS/s|=|+=|" \
|
|
config.mk || return 1
|
|
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
install -m644 -D ./libixp/LICENSE \
|
|
$pkgdir/usr/share/licenses/libixp/LICENSE
|
|
}
|