summaryrefslogtreecommitdiff
path: root/~brendan/libunistring/PKGBUILD
blob: 634195741df2ac53f58a5f6e5f4b3bf8c3d79cb9 (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
# Former Arch maintainer: Emmanuel 'guinness' Boudreault
# Current Arch maintainer: Patrick McCarty <pnorcks at gmail dot com>
# Parabola maintainer: Brendan Tildesley <brendan.tildesley@gmail.com>

pkgname=libunistring
pkgver=0.9.3
pkgrel=1
pkgdesc="GNU library for manipulating Unicode strings and C strings."
url="http://www.gnu.org/software/libunistring/"
arch=('i686' 'x86_64')
license=('GPL3' 'LGPL3')
depends=('glibc')
install=${pkgname}.install
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('db8eca3b64163abadf8c40e5cecc261f')
sha256sums=('610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3')

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

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
}