updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / adasockets / PKGBUILD
blob935bb4b4efa8dfdff9b4b84f9046056ddafeb428
1 # Maintainer: Samuel Tardieu <sam@rfc1149.net>
3 pkgname=adasockets
4 pkgver=1.8.9
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 pkgdesc="BSD sockets in Ada"
8 url="http://www.rfc1149.net/devel/adasockets"
9 license=('custom:GNAT_Modified_GPL')
10 depends=('sh' 'gcc-libs')
11 makedepends=('gcc-ada' 'autogen')
12 options=('!libtool')
13 install=adasockets.install
14 source=(https://www.github.com/downloads/samueltardieu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
15 md5sums=('30a1c69332ec68b925f404441865cf18')
17 build() {
18   cd $srcdir/${pkgname}-${pkgver} || return 1
19   ./configure --prefix=/usr
20   make || return 1
22   make DESTDIR=${pkgdir} install || return 1
23   install -D -m 644 GMGPL ${pkgdir}/usr/share/licenses/$pkgname/GNAT_Modified_GPL || \
24     return 1
27 # vim:set ts=2 sw=2 et: