# $Id: PKGBUILD 209260 2014-03-31 07:30:03Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Bastien Dejean <baskerville@lavabit.com>

pkgname=libunicodenames
pkgver=1.1.0_beta1
pkgrel=1
pkgdesc='Library for retrieving Unicode annotation data'
url='https://bitbucket.org/sortsmill/libunicodenames'
arch=('i686' 'x86_64')
license=('GPL3')
source=("https://bitbucket.org/sortsmill/${pkgname}/downloads/${pkgname}-${pkgver}.tar.xz")
sha1sums=('f82d9f99d534144dd4c28c28ecff029f3116c5b4')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr
	make PREFIX=/usr
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make PREFIX=/usr DESTDIR="${pkgdir}" install
}
