updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / libancil / PKGBUILD
bloba67847e3bb9721859a7661ac5f904ffefdaaebbf
1 ##### libancil ##############################
2 # Maintainer: matt mooney <mfm@muteddisk.com>
4 pkgname=libancil
5 pkgver=0.1.1
6 pkgrel=3
7 pkgdesc="A shared library for unix domain socket ancillary data."
8 arch=('i686' 'x86_64' 'ppc')
9 url="http://libancil.muteddisk.com"
10 license=('BSD')
11 depends=('glibc')
12 makedepends=('cmake>=2.4')
13 options=('strip')
14 source=("http://libancil.muteddisk.com/releases/$pkgname-$pkgver.tar.gz")
15 sha256sums=('31efa809071705697f0cfc17bbda80f3660629ecfe7699628e18175cb9d62e7a')
17 build() {
18     cd "${srcdir}/${pkgname}-${pkgver}"
20     cmake -D CMAKE_INSTALL_PREFIX=${pkgdir}/usr $(pwd)
21     make ancil
24 package() {
25     cd "${srcdir}/${pkgname}-${pkgver}"
27     make install
28     install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}
29     ln -sf /usr/share/doc/${pkgname}/LICENSE \
30        ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE