updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libixp-hg / PKGBUILD
blob05d1e200149f42181ef7f1e8ac05d7a01d1f56d1
1 # Contributer: N30N <archlinux@alunamation.com>
2 # Contributor: Anthony Martin <ality@pbrane.org>
3 # Contributor: rransom <rransom.8774@gmail.com>
5 pkgname="libixp-hg"
6 pkgver=141
7 pkgrel=1
8 pkgdesc="The latest hg pull of libixp, A standalone client/server 9p library"
9 url="http://libs.suckless.org/libixp"
10 license="MIT"
11 arch=("i686" "x86_64")
12 makedepends=("mercurial" "txt2tags")
13 provides=("libixp")
14 source=()
15 md5sums=()
17 _hgroot="http://code.suckless.org/hg"
18 _hgrepo="libixp"
20 build() {
21         _flags=( \
22                 "PREFIX=/usr" \
23                 "ETC=/etc" \
24                 "PREFIX=${pkgdir}/usr" \
25         )
27         rm -rf build
28         cp -rf "${_hgrepo}" build
29         cd build
30         hg checkout "${pkgver}"
32         msg "Starting build process."
33         make ${_flags[@]}
34         make ${_flags[@]} install
37 # vim: set noet ff=unix