upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lib32-libdatrie / trunk / PKGBUILD
blobc8448f31d489584cc9ae810a9aea39a82cf5ebfb
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Chaiwat Suttipongsakul <cwt114@gmail.com>
5 pkgname=lib32-libdatrie
6 pkgver=0.2.13
7 pkgrel=2
8 pkgdesc='Implementation of double-array structure for representing trie, as proposed by Junichi Aoe.'
9 url='https://linux.thai.net/projects/datrie'
10 license=('LGPL')
11 arch=('x86_64')
12 depends=('lib32-glibc' 'libdatrie')
13 provides=('libdatrie.so')
14 source=("https://linux.thai.net/pub/thailinux/software/libthai/libdatrie-${pkgver}.tar.xz")
15 sha256sums=('12231bb2be2581a7f0fb9904092d24b0ed2a271a16835071ed97bed65267f4be')
17 build() {
18   cd libdatrie-${pkgver}
20   export CC='gcc -m32'
21   export CXX='g++ -m32'
22   export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
24   ./configure \
25     --prefix='/usr' \
26     --libdir='/usr/lib32' \
27     --disable-static
28   make
31 package() {
32   cd libdatrie-${pkgver}
34   make DESTDIR="${pkgdir}" install -j1
35   rm -rf "${pkgdir}"/usr/{bin,include,share}
38 # vim:set sw=2 sts=-1 et: