1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: oi_wtf <brainpower@mailbox.org>
3 # Contributor: Felix Yan <felixonmars@archlinux.org>
4 # Contributor: namelessjon <jonathan.stott@gmail.com>
5 # Contributor: Alessio Sergi <asergi@archlinux.us>
7 pkgname=lib32-libsodium
10 pkgdesc='A modern, portable, easy to use crypto library'
12 url='https://github.com/jedisct1/libsodium'
19 source=(git+https://github.com/jedisct1/libsodium.git#tag=${pkgver})
32 export PKG_CONFIG_LIBDIR=/usr/lib32/pkgconfig
43 make DESTDIR="${pkgdir}" install
44 rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}}
46 install -dm 755 "${pkgdir}"/usr/share/licenses
47 ln -s libsodium "${pkgdir}"/usr/share/licenses/lib32-libsodium
50 # vim:set ts=2 sw=2 et: