summaryrefslogtreecommitdiffstats
path: root/abs/core/libunistring/PKGBUILD
blob: a9d9e8106398d0c08367a5ee85ee6f56438a14e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id$
# Maintainer:  Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Emmanuel 'guinness' Boudreault
# Contributor: Patrick McCarty <pnorcks at gmail dot com>

pkgname=libunistring
pkgver=0.9.6
pkgrel=1
pkgdesc='Library for manipulating Unicode strings and C strings'
url='http://www.gnu.org/software/libunistring/'
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc')
install=libunistring.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('dfae4ff5583649ed24d8f368f1d0543b')

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

check() {
  make -C $pkgname-$pkgver check
}

package() {
  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
}