git » libev.git » commit 37c3baa

deprecate sha1/md5 checksums todo

author George Rawlinson
2022-11-15 07:21:10 UTC
committer George Rawlinson
2022-11-15 07:21:10 UTC
parent fee132c8151deddf4221bf9996e831b9fe382857

deprecate sha1/md5 checksums todo

PKGBUILD +8 -4

diff --git a/PKGBUILD b/PKGBUILD
index dfd0103..9788bd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,24 +4,27 @@
 
 pkgname=libev
 pkgver=4.33
-pkgrel=1
+pkgrel=2
 pkgdesc="A full-featured and high-performance event loop"
 arch=('x86_64')
 url="https://software.schmorp.de/pkg/libev.html"
 license=('BSD')
 depends=('glibc')
 source=(http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('133587b89c34dba0b3a2d2a90ba59f6748f6c368')
+sha512sums=('c662a65360115e0b2598e3e8824cf7b33360c43a96ac9233f6b6ea2873a10102551773cad0e89e738541e75af9fd4f3e3c11cd2f251c5703aa24f193128b896b')
+b2sums=('8a6cae25ffde10b24a5bbf084f6a8559af326b37acdbdf47dda34b7f0c7955f3ebd26958594444a574cfa3e2b4011e4be93ad2bd994ffd4c094bf36620e67ba5')
 
 build() {
   cd ${pkgname}-${pkgver}
 
   ./configure --prefix=/usr
+
   make
 }
 
 check() {
   cd ${pkgname}-${pkgver}
+
   make check
 }
 
@@ -32,6 +35,7 @@ package() {
 
   # fix conflict with libevent
   rm "${pkgdir}"/usr/include/event.h
-  
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
 }