archrelease: copy trunk to testing-x86_64
[arch-packages.git] / libnet / trunk / PKGBUILD
blob6cb010ed02a8b871e6624af87337163ded21977a
1 # Maintainer:
2 # Contributor: damir <damir@archlinux.org>
4 pkgname=libnet
5 pkgver=1.1.6
6 pkgrel=1
7 epoch=1
8 pkgdesc="A library which provides API for commonly used low-level net functions"
9 arch=('x86_64')
10 url="https://github.com/libnet/libnet"
11 license=('BSD')
12 depends=('glibc' 'sh')
13 makedepends=('help2man' 'doxygen')
14 source=(https://github.com/libnet/libnet/releases/download/v${pkgver}/libnet-${pkgver}.tar.gz)
15 sha512sums=('a67e502b0e6957ca590e47cb50b0472dd83d622d84c62818d665d771616df91b5a8fa8fcf1040d13b7860aaabaf338152ef40f66ab97c3fc9502edb08cea0bb6')
17 build() {
18   cd "${pkgname}-${pkgver}"
19   ./configure --prefix=/usr
21   make
24 package() {
25   cd "${pkgname}-${pkgver}"
26   make DESTDIR="${pkgdir}" install
28   install -Dm644 doc/COPYING \
29     "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"