[arch-commits] Commit in libnet/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Apr 3 14:24:47 UTC 2020
Date: Friday, April 3, 2020 @ 14:24:46
Author: jelle
Revision: 379258
prepare 1.2 update
Modified:
libnet/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-03 13:18:58 UTC (rev 379257)
+++ PKGBUILD 2020-04-03 14:24:46 UTC (rev 379258)
@@ -2,26 +2,28 @@
# Contributor: damir <damir at archlinux.org>
pkgname=libnet
-pkgver=1.1.6
-pkgrel=3
+pkgver=1.2
+pkgrel=1
pkgdesc="A library which provides API for commonly used low-level net functions"
arch=('x86_64')
-url="https://sourceforge.net/projects/libnet-dev/"
+url="https://github.com/libnet/libnet"
license=('BSD')
depends=('glibc' 'sh')
-source=("https://downloads.sourceforge.net/libnet-dev/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('a67e502b0e6957ca590e47cb50b0472dd83d622d84c62818d665d771616df91b5a8fa8fcf1040d13b7860aaabaf338152ef40f66ab97c3fc9502edb08cea0bb6')
+makedepends=('help2man' 'doxygen')
+source=(https://github.com/libnet/libnet/releases/download/v${pkgver}/libnet-${pkgver}.tar.gz)
+sha512sums=('84430f24e000eb7728b1fbb5e620716d13d193e8b9e024cf56a08fbeeeaaf56c9122caaf7647f01e6b38b73212e592fa5cc4e8ff56b1d5f5a73aea462e84edd6')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
- make CFLAGS="${CFLAGS} -fPIC"
+
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -Dm644 doc/COPYING \
+ install -Dm644 LICENSE \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list